[Mimedefang] Requeue failed messages

Kevin A. McGrail KMcGrail at PCCC.com
Tue Oct 16 16:39:59 EDT 2012


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 user at host.tld < 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




More information about the MIMEDefang mailing list