On Mon, May 18, 2015 at 03:44:23PM +0200, aleph de wrote:

>       cat ./master.cf         [sic, really main.cf]
>               ...
> -             transport_maps = lmdb:/etc/postfix/transport
> +             #transport_maps = lmdb:/etc/postfix/transport
>               ...
> 
>       cat ./main.cf           [sic, really master.cf]
>               ...
>               smtpd          pass  -       -       n       -       -       
> smtpd
> +                     -o relay_transport=relayTEST:[10.2.0.17]:10015
>               relayTEST      unix  -       -       n       -       -       
> smtp


You can't specify relay_transport via smtpd(8) master.cf overrides.
That's because this parameter is not used by smtpd(8) directly.
It is instead used by the trivial-rewrite(8) service, which performs
transport resolution on behalf of smtpd(8) and qmgr(8).  This is
important, because inconsistent resolution would be rather a problem.

Thus relay_transport is fundamentally a global setting.  It can't be
configured per listen endpoint unless you use multiple Postfix
instances, each with their main.cf files, queue-diretories, ...

-- 
        Viktor.

Reply via email to