Eli the Bearded writes:
Try
-A'Content-Type: multipart/mixed; boundary="SAA09016.870370791/host"'
Works ...
Or you might want to use my bounce perl script, available as part of
my procmail utils.
<URL:ftp://ftp.netusa.net/users/eli/proc-util.tgz>
I'll check it out, too.
# Allow multiple addresses on the To: line, and allow multiple usernames
# and domain names.
:0
* ^To:.*[ <]\/[a-z][a-z0-9_.+=-]*@(valid.domain.for.you|other.valid.domain)
{
Foo=$MATCH
:0
* Foo ?? ^^\/[^(_at_)]+
{
FROM = $MATCH
}
}
Rather than do DNS lookup, grab the info from the Recieved header
added by your sited. I don't know the format at your site, so I
won't both trying.
I'll leave out the IP altogether.