| |||||||||||||||||||||||||||||||
|
> The original problem was that qmgr logged sender's address of the mail > coming from 'outside' as rewritten, while in fact it wasn't rewritten. That's not really a problem, just some information loss in the logs about which messages used the legacy address. This can be solved by getting smtpd to log the original address as a warning, when the domain is the old domain. > You said that it could be fixed by using 'generic' rewrite mechanism > instead of 'sender_canonical_maps', but I only need to rewrite senders > of mails coming from 'inside' (ie mynetworks). I'm not sure if my > approach (using local_header_rewrite_clients) works for generic maps, too. The generic mapping can be configured differently for the "relay" transport (should be used for inbound mail) and the "smtp" transport (should be used for outgoing mail). Either "-o options" in master.cf or separate Postfix instances for inbound/outbound. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majordomo?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com