[Mimedefang] Requeue failed messages
Jon Rowlan
jon.rowlan at sads.com
Tue Oct 16 17:59:51 EDT 2012
By dumping them directly into Outlook express (drag/drop) I get a pretty
good rendering but there are some anomalies with the text.
For example:
"...? I visited =ite twice"
isn't quite right but is just about understandable.
But for the most part the email is readable.
Squirrel Mail translates these perfectly, they just work.
I detect the domain when storing mail.
I can use grep to identify the recipients.
If I were to use something along the lines
action_quarantine_entire_message()
how would I then re-queue the email?
I understand that with Sendmail I am missing the queue control file ..
jON
-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com] On Behalf Of Kevin
A. McGrail
Sent: 16 October 2012 21:40
To: mimedefang at lists.roaringpenguin.com
Cc: Joseph Brennan
Subject: Re: [Mimedefang] Requeue failed messages
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
_______________________________________________
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 MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
More information about the MIMEDefang
mailing list