procmail
[Top] [All Lists]

Re: Maildir and "Date Received"

2009-03-01 23:43:36
Am 2009-03-01 20:17:42, schrieb Professional Software Engineering:
What of the From_ line?  or is this not present in the maildir-stored  
messages?

No it is not...  Good morning Sean.  ;-)

 That date would have been set by the local host on reception 
of the message, and will be a predictable format (and DEFINATLEY more 
reliable than the Date: header).  It should be nominally different from 
the datestamp in the topmost Received: header, but will be a lot easier 
to extract.

It is only in the mbox format and not Maildir.

    TIME=`date +%s.%N`
    formail -I "X-Local-Received-Time: ${TIME}"
Or rather, the time procmail processed the message.

I use the "date +%s.%N" command to get higher precission, since even  if
two messages come in exactly the same time, they will never get the same
NANOSECONDS.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>               <http://www.can4linux.org/>
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>