regex question
I'm looking for some help on a regex. Its function is to add the following
at the end of email headers:
X-SenderIP: 65.54.169.39
X-ASN: ASN-8075
X-CIDR: 65.54.160.0/19
It works fine with my main isp, Earthlink, however with my domain,
toadnet.com it has
X-SenderIP:
X-ASN: ASN-
X-CIDR: /
and the same is noted with mail from yahoo. The regex is the beginninig of
a larger formail recipe. I didn't write it, but I'm trying to troubleshoot
it. If someone could offer some advice I'd appreciate it.
SMTP_SERVER = EarthLink SMTP Server|by toadnet\.com \(8\.12\.11/8\.12\.11\)|
by mta[0-9]*\.mail\..*\.yahoo\.com
This is actually all on one line of course.
Thanks for any help
Chris
|