Chris wrote:
[...] I have a formail recipe embeded in my .procmailrc which is
used to add the following at the end of message headers:
X-SenderIP: 65.54.169.39 X-ASN: ASN-8075 X-CIDR: 65.54.160.0/19
This works fine for my main isp, earthlink. However, I'd also like
the same to be added to mail from my domain, toadnet.com, and to mail
I pull down from my yahoo account using fetchyahoo.
If I'm understanding correctly, you want to add those headers from
messages you're pulling down into your own local messagestore, correct?
If you know where they're coming from, do you need something so elaborate?
[...] There is something wrong with the regex on the SMTP server
line.
Missing quotes and line continuation escapes look like possible culprits.
You might want to take a look at the spamitarium.pl script from the
bogofilter distribution. It's in perl, but you can easily derive all the
interesting logic used to normalize message received headers.
- Bob
____________________________________________________________
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