Sorry, I typed that out and didn't test it. Should really be closer to the
following (though still untested code):
if ($Recipients[$i] =~ /^<?kmcgrail@(pccc|thoughtworthy)\.com>?$/i)
This regexp has assisted me well in this issue and might do the same since
it is a fairly strict check for a match. I'm sure I picked it up from
someone on the MD list so no props to anyone but them:
loop on length of $Recipients array and:
if ($Recipients[$i] =~
/^<?kmcgrail@(pccc.com|thoughtworhty.com)\.com>?$/i) {
...
}
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang