> On May 19, 2017, at 3:20 PM, Marcio Merlone <marcio.merl...@a1.ind.br> wrote: > >> Mail is sent via the submission port 587, where the restrictions >> are different >> > > Thanks, this is it. So obvious.... I always forget this. Would be nice to > have settings from main.cf working for both ports, 25 and 587, without > messing with master.cf.
Not messing with master.cf is the suggested approach in the stock upstream Postfix master.cf file, see: https://github.com/vdukhovni/postfix/blob/master/postfix/conf/master.cf#L17p All the actual overrides then end up in main.cf: mua_client_restrictions = ... mua_helo_restrictions = ... mua_sender_restrictions = ... ... -- Viktor.