On Tue, Jun 11, 2002 at 09:20:14AM +0530, Ali, Imran wrote:
whenever i recieve a mail i want to know the system time at which it
recieved, system time is in millisecond accuracy. for example as systime()
returns in gawk.Similarly Is there a procedure to get it in procmailrc also.
?
For the time at which procmail handles the message:
TIME=`date '+%H:%M:%S'`
Now you can use $TIME repeatedly in the procmailrc.
Alternatively, you could use the MATCH operator to extract the arrival time
from the topmost "Received:" header line. (Not that there'd normally be a great
deal of difference.)
Regards,
Erik
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail