On Mon, Aug 10, 2015 at 09:46:33PM +0000, Rosenbaum, Larry M. wrote:

> > Then, as a best-practice, add additional transport addresses to
> > each exchange user account:
> > 
> >     mail: u...@example.com
> >     proxyAddresses: SMTP:u...@example.com
> >     proxyAddresses: smtp:u...@exch.example.com
> 
> We're trying to see if we can get rid of that second proxyAddress

It is far better to keep it.

> > but if that's just too difficult due to extreme bureaucratitis,
> > you can undo the rewrite during transmission via smtp_generic_maps
> > 
> >     master.cf:
> >         relay unix ... smtp
> >           -o smtp_generic_maps=$relay_generic_maps
> > 
> >     main.cf:
> >         indexed = ${default_database_type}:${config_directory}/
> >         relay_generic_maps = ${indexed}relay-generic
> > 
> >     relay-generic:
> >             @exch.example.com       @example.com
> > 
> 
> I think the smtp_generic_maps solution is going to work for us. Thanks.

This is a hack, per-destination mailbox addresses are less likely
to loop, make logs less confusing, ...

If you already have secondary proxyAddresses, keep using them!

-- 
        Viktor.

Reply via email to