On Wed, Sep 16, 2009 at 10:13:19PM -0400, Sahil Tandon wrote:

> On Wed, 16 Sep 2009, Victor Duchovni wrote:
> 
> > On Wed, Sep 16, 2009 at 07:14:35PM -0400, Sahil Tandon wrote:
> > 
> > >  # main.cf
> > >  recipient_canonical_maps = cdb:/usr/local/etc/postfix/canonical
> > > 
> > >  # /usr/local/etc/postfix/canonical
> > >  @exmaple.org @example.org
> > 
> > I strongly discourage "recipient_canonical_maps". Use canonical_maps
> > instead. Unlike the message envelope, headers are rarely single-purpose,
> > and what is a sender to one user, becomes a recipient to another
> > (reply, ...).
> 
> Thanks Victor.  But does the caution against recipient_canonical_maps
> apply in the OP's use case of just correcting a spelling mistake on
> outgoing mail?

Yes, the more typical problem case is with sender_canonical_maps,
when is tempted to canonicalize one's own obsolete domains in "sender"
addresses only. There failure to rewrite "To:" and "Cc:" addresses
can make mail unrepliable.

Indeed, problems with "recipient_bcc_maps" are more rare. Still, in
most cases it is reasonable to also also correct "Reply-To" or "From"
if someone botches those...

-- 
        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:majord...@postfix.org?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.

Reply via email to