On Tue, 30 Apr 2002, Vivek Khera wrote:

> Date: Tue, 30 Apr 2002 09:54:46 -0400
> From: Vivek Khera <[EMAIL PROTECTED]>
> To: Pete O'Hara <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [SAtalk] spamassassin on a mail relay
>
> >>>>> "PO" == Pete O'Hara <[EMAIL PROTECTED]> writes:
>
>
> PO> # If no spam just send to recipient
> PO> :0
> PO> | /usr/sbin/sendmail -oi -t
>
> PO> The problem is that the "-t" option sends to the recipient
> PO> defined in the "To:" header and if it is outgoing mail from
> PO> a mail downstream mailserver and the "To:" is an alias such
>
> You must preserve the SMTP envelope information, not rely on using the
> address(es) in the headers.  Bounce processing will break, and you'll
> lose any BCC's.  How you accomplish this in procmail, I have no idea.

You might play with piping things through formail - which can perform
various forms of header munging. And I believe it comes with procmail.

You probably need to run as a trusted user - defined in sendmail.cf - to
do the necessary munging.


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to