[Mimedefang] Access to email Headers in mimedefang-filter?
Mark Wiater
mwiater at cablespeed.com
Wed Apr 2 10:13:00 EST 2003
Hello,
I have a requirement to respond to email under certain circumstances.
Specifically, if the intended recipient is X, I need to discard the email and
send a canned message back to the original sender with canned text directing
them to use another process to achieve their goals.
I was thinking that I could use a simple
send_mail,
action_discard
process but am running into difficulty in some instances. I have found a few
instances where the $Sender variable does not represent a valid email
address. After discovering that, I thought it might be wise to use the same
technology that mail clients use in replying to a sent message.
If I'm not mistaken, replied-to email should be sent to the address in the
Reply-To: or From: header information, respectively. (If this is wrong, I'd
love to hear the right way.)
If the above is correct, how can I get that data, within the confines of
mimedefang-filter? David, have you ever thought about a %Headers hash (there
have been other times that I would have liked to know what was in the
headers)?
Thanks for your help,
Mark
More information about the MIMEDefang
mailing list