[NTLUG:Discuss] Last time mail was read.
Bob Byron
bbyron at radit.com
Mon Dec 8 08:04:10 CST 2003
Rusty,
Thank you! Interesting. However, there are some users that use a
different
outbound (smtp) server. This show them as unread since the time the account
was created. They do still read off of the pop server.
Bob
Rusty Haddock wrote:
>Bob Byron wrote:
> >I saw that there is a simple way to get the last time email was
> >read for an account by using the "finger" command. Unfortunately,
> >finger shows this "Unread since" value on the fourth or fifth line along
> >with other information. Is there another command that will show
> >the last time email was read for a user? I don't really want to dig
> >into the maillog either. finger will do, but it is not my ideal.
>
>Try this:
>
> ls -lc --full-time /var/spool/mail/$USER
>
>Without the "--full-time" you could get just "May 28, 2003" with
>no time (ie. if the time of last status change is more the 6-months
>in the past).
>
> -Rusty-
>
>
More information about the Discuss
mailing list