procmail
[Top] [All Lists]

Re: Extracting delivery date from Header

2001-04-20 11:08:19
Günter Hofmann asked,

| can anybody tell me, how I extract the delivery date from the header
| of an incoming mail.

If your MTA adds 'From ' postmark lines, you can get it from there:

 :0
 * ^^From +[^ ]+ +\/[^ ].*
 { ARRIVAL=$MATCH }

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail