cancel
Showing results for 
Search instead for 
Did you mean: 

root mail - unreaded

HP UNIX Professionals
Frequent Advisor

root mail - unreaded

Hi Anybody know how to change the status of the root mail as "reared"

I read the content using “cat /var/mail/root”

But still showing unread

root@MYSERVER:/# mailx
mailx Revision: 1.179.214.2 Date: 98/12/01 01:29:55 Type ? for help.
"/var/mail/root": 9 messages 9 unread
>U 1 root Wed Dec 1 08:32 82/2583 MYSERVER: Event Monitor Noti
U 2 root Wed Dec 1 09:48 82/2586 MYSERVER: Event Monitor Noti
U 3 root Thu Dec 2 11:28 82/2583 MYSERVER: Event Monitor Noti
U 4 root Thu Dec 2 14:29 82/2586 MYSERVER: Event Monitor Noti
U 5 root Fri Dec 3 21:56 82/2586 MYSERVER: Event Monitor Noti
U 6 root Sat Dec 4 03:43 82/2583 MYSERVER: Event Monitor Noti
U 7 root Sun Dec 5 01:51 82/2586 MYSERVER: Event Monitor Noti
U 8 root Sun Dec 5 07:38 82/2583 MYSERVER: Event Monitor Noti
U 9 root Mon Dec 6 08:02 82/2583 MYSERVER: Event Monitor Noti
3 REPLIES
Mounaam
Trusted Contributor

Re: root mail - unreaded

Hi,

# echo 'type :u' | mailx > /dev/null

Regards,
Mounaam
rariasn
Honored Contributor

Re: root mail - unreaded

Hi:

# mv /var/mail/root /tmp/mail.mmddaa.txt

rgs,
Bill Hassell
Honored Contributor

Re: root mail - unreaded

Run elm as root. Then read each mail message or just hold the Enter key down and elm will run through all the messages marking them as read. To remove them type the letter d and to mark them as unread, type the letter u, and q to exit.


Bill Hassell, sysadmin