Change envelope sender for forwarded messages?

John Wilcock john at tradoc.fr
Wed Mar 25 13:16:28 GMT 2009


Le 25/03/2009 13:20, Norbert Schmidt a écrit :
> I've done it on postfix with a sender_canonical_map:
> put this into main.cf:
> sender_canonical_maps = regexp:/etc/postfix-10025/sender_canonical
> and this into the sender_canonical file:
>
> /^/     new_envelope_sender at domain.com
>
> This will change the envelope sender on all incoming mail. I've routed
> the special mail that needed to be processed through this to a second
> instance of postfix running on port 10025.
> This does the job fine and in our case you even see the unchanged from:
> in the mail.

Thanks, Norbert. That certainly looks like one possible solution. I'll 
also look at Julian's .forward with sendmail -f suggestion, though I'm 
not sure I can use .forward files in conjunction with dovecot deliver 
LDA (which I want to use for sieve filtering).

John.

-- 
-- Over 3000 webcams from ski resorts around the world - www.snoweye.com
-- Translate your technical documents and web pages    - www.tradoc.fr


More information about the MailScanner mailing list