Nick:
> On 2020-05-08 18:59 BST, Wietse Venema wrote:
> > Nick:
> > > Can postfix be configured such that it changes to
> > >
> > > 127.0.0.1:submission
> > > 0.0.0.0:smtp
> > >
> > > (and similarly for ipv6)?
> >
> > If you want two services to listen on different IP addresses, then
> > that requires an override in master.cf for at last one of the two
> > services. I am just repeating information that I already gave.
>
> As I said in my original question, I added '-o
> inet_interfaces=loopback-only' under submission in master.cf and
> restarted postfix. It made no difference, according to 'ss'.
You need to specify the IP address override as
127.0.0.1:submission .. .. .. .. .. .. smtpd
in master.cf.
The master daemon determines what IP address a service will listen
on, therefore giving that address as a parameter to the submission
daemon is too late.
Wietse