finger output: where does "last time the user read mail" come from?

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default finger output: where does "last time the user read mail" come from?

    Hi,

    from the man page, it says:

    o last time the user received mail, and the last time
    the user read mail

    In the man page, it doesn't say where it takes the "last time the user read
    mail"...

    Somebody has a clue?

    Thanks!

    Christian


    Christian Caron Guest

  2. Similar Questions and Discussions

    1. Change user role from "Publisher" to "Administrator"
      Have three users on a particular website - all need to be "administrators". Two are listed as administrators (one of which is me), the third is...
    2. #40481 [NEW]: mail() sends email to wrong address where there are "-" in localpart of "to"
      From: penartur at yandex dot ru Operating system: Linux PHP version: 5.2.1 PHP Bug Type: Mail related Bug description: ...
    3. finger cursor on a "Get Url" behaviour
      Hi, I just started using Dreamweaver 8. On a text string selection, i use the behaviour "Get Url" to load two frames (one in the main and the...
    4. Is there a module that can check if user "foo" may read a file?
      Hi i want to check a number of file against different user uid:s and see if they can read/write execute that file. I have searched on cpan but it...
    5. Sendmail: mails rejected with "550-unrouteable mail domain "blade150.lafr.de""
      mails sent from my Sun Blade 150 (Solaris 9) via sendmail are rejected by the destination mail server with message shown above in the subject line....
  3. #2

    Default Re: finger output: where does "last time the user read mail" come from?

    In article <bf48fd$q1i13@nrn2.NRCan.gc.ca>,
    Christian Caron <nospam@nospam.org> wrote:
    >Hi,
    >
    >from the man page, it says:
    >
    > o last time the user received mail, and the last time
    > the user read mail
    >
    >In the man page, it doesn't say where it takes the "last time the user read
    >mail"...
    >
    >Somebody has a clue?
    It's the access time on the user's mail file.

    --
    Barry Margolin, [email]barry.margolin@level3.com[/email]
    Level(3), Woburn, MA
    *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
    Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
    Barry Margolin Guest

  4. #3

    Default Re: finger output: where does "last time the user read mail" come from?

    In article <bf48fd$q1i13@nrn2.NRCan.gc.ca>,
    Christian Caron <nospam@nospam.org> wrote:
    >
    >from the man page, it says:
    >
    > o last time the user received mail, and the last time
    > the user read mail
    >
    >In the man page, it doesn't say where it takes the "last time the user read
    >mail"...
    >
    >Somebody has a clue?
    These are just the mtime and atime, respectively, of the user's inbox,
    /var/mail/$LOGNAME.

    Chris Thompson
    Email: cet1 [at] cam.ac.uk
    Chris Thompson Guest

  5. #4

    Default Re: finger output: where does "last time the user read mail" come from?

    In article <bf48fd$q1i13@nrn2.nrcan.gc.ca>,
    "Christian Caron" <nospam@nospam.org> writes:
    > Hi,
    >
    > from the man page, it says:
    >
    > o last time the user received mail, and the last time
    > the user read mail
    >
    > In the man page, it doesn't say where it takes the "last time the user read
    > mail"...
    >
    > Somebody has a clue?
    It stat(2)'s the user's mailbox (in /var/mail), and if the last modified
    time is earlier than the last accessed time, it says the mail was last
    read as of the last accessed time. Otherwise, if the last modified time
    is later than the last accessed time, it says new mail received (at the
    last modified time), last read (at the last accessed time). Or if they're
    equal, it just says unread mail since (last modified time), 'cause it's
    not sure whether it's a new mailbox with one message in it, or whether it's
    a mailbox that was recreated so fast that the atime and mtime are the same.

    --
    mailto:rlhamil@mindwarp.smart.net [url]http://www.smart.net/~rlhamil[/url]
    Richard L. Hamilton Guest

  6. #5

    Default Re: finger output: where does "last time the user read mail" come from?


    "Richard L. Hamilton" <Richard.L.Hamilton@mindwarp.smart.net> wrote in
    message news:vhbc824vmdfhb8@corp.supernews.com...
    > In article <bf48fd$q1i13@nrn2.nrcan.gc.ca>,
    > "Christian Caron" <nospam@nospam.org> writes:
    > > Hi,
    > >
    > > from the man page, it says:
    > >
    > > o last time the user received mail, and the last time
    > > the user read mail
    > >
    > > In the man page, it doesn't say where it takes the "last time the user
    read
    > > mail"...
    > >
    > > Somebody has a clue?
    >
    > It stat(2)'s the user's mailbox (in /var/mail), and if the last modified
    > time is earlier than the last accessed time, it says the mail was last
    > read as of the last accessed time. Otherwise, if the last modified time
    > is later than the last accessed time, it says new mail received (at the
    > last modified time), last read (at the last accessed time). Or if they're
    > equal, it just says unread mail since (last modified time), 'cause it's
    > not sure whether it's a new mailbox with one message in it, or whether
    it's
    > a mailbox that was recreated so fast that the atime and mtime are the
    same.
    >
    > --
    > mailto:rlhamil@mindwarp.smart.net [url]http://www.smart.net/~rlhamil[/url]
    Perfect answer!

    Thanks everyone!


    Christian Caron Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139