procmail
[Top] [All Lists]

Re: original date (again)

2001-09-08 10:33:51
wrote an email to myself at 18.42, terminated Fetchmail, waited 10 Minuts,
activated Fetchmail again.

-----------------------------------------------------------------------
[..]
Received: from pd9522976.dip.t-dialin.net (HELO localhost.Frankux)
(217.82.41.118)
  by mail.gmx.net (mail06) with SMTP; 8 Sep 2001 16:42:20 -0000

Well if I understand correctly (and I confess that I may not have done
so) this is the line that you want to retain.

Perhaps you can get what you want with a simple recipe like:

  :0 fhw
  * ^\/Received:.*by mail.gmx.net.*
  | formail -i "$MATCH"

Hope that helps,
Martin
-- 
Martin McCarthy                 /</                  PGP key available
    `Procmail Companion'        \>\  http://www.ancient-scotland.co.uk
     Addison Wesley             /</    http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail