On 10/16/2012 4:13 PM, Joseph Brennan wrote:

The first thing that I wonder about is how you will determine the recipient to deliver to. Sendmail -t will parse the To and Cc headers but they need not correspond to the recipient. I think the recipient can be parsed from the COMMANDS file if you save that.

But the same question arises for the Squirrelmail access too, so maybe you have sorted the mail by recipient as it comes in. In that case if you know the recipient, something like

sendmail [email protected] < messagefile

might be what you want. That won't set the sender address unless you do some more work to extract it from Return-Path and feed that on command line too.

I've never attempted this type of mail manipulation so I can only offer first thoughts. I wonder whether ANYONE else has tried your method!

I think you needed to have used the function action_quarantine_entire_message() to correctly perform this. I believe INPUTMSG is incomplete as Joseph points out. It won't necessarily give you the recipients.

regards,
KAM

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to