Autor: Stanislaw Halik Fecha: A: exim-users Asunto: Re: [exim] preserving original envelope recipient in two-pass
SpamAssassin setup
Sam Hathaway <list.exim-users@???> wrote: > I've noticed that when mail is resubmitted to Exim after being
> scanned, the "RCPT TO:" line is the rewritten recipient address, not
> the original recipient address. So on the second pass, the original
> recipient information is totally gone. This prevents my users from
> filtering their mail using $original_local_part and $original_domain
> in Exim filter files, or from getting useful information from
> Envelope-to: headers.
putting these into your pipe transport:
#v+
user = mailnull
group = mail
#v-
should do the trick for 'From' and 'To' headers. i'm not so sure about
the envelope sender, but when in doubt, use: