Re: smtpd and submission inet_interfaces

2020-05-08 Thread Nick
On 2020-05-08 20:15 BST, Wietse Venema wrote: > Nick: > > I think I found the way, which is to repeat the entire submission > > definition in master.cf and c h a n g e the a d d r e s s [my previous > > post was bounced so I'm trying those words with spaces]. If there is a > > more succinct way, t

Re: smtpd and submission inet_interfaces

2020-05-08 Thread Wietse Venema
Nick: > On 2020-05-08 20:03 BST, Wietse Venema wrote: > > Nick: > > > Is there a way to make it work for both ipv4 and ipv6 at the same time? > > > I tried "127.0.0.1,[::1]:submission ..." but postfix wouldn't start. > > > > See: http://www.postfix.org/master.5.html > > I think I found the way, w

Re: smtpd and submission inet_interfaces

2020-05-08 Thread Nick
On 2020-05-08 20:03 BST, Wietse Venema wrote: > Nick: > > Is there a way to make it work for both ipv4 and ipv6 at the same time? > > I tried "127.0.0.1,[::1]:submission ..." but postfix wouldn't start. > > See: http://www.postfix.org/master.5.html I think I found the way, which is to repeat the

Re: smtpd and submission inet_interfaces

2020-05-08 Thread Wietse Venema
Nick: > On 2020-05-08 19:26 BST, Wietse Venema wrote: > > You need to specify the IP address override as > > > > 127.0.0.1:submission .. .. .. .. .. .. smtpd > > > > in master.cf. > > That works for ipv4 and "[::1]:submission ..." works for ipv6. I'm > further than I was, thanks. >

Re: smtpd and submission inet_interfaces

2020-05-08 Thread Nick
On 2020-05-08 19:26 BST, Wietse Venema wrote: > You need to specify the IP address override as > > 127.0.0.1:submission .. .. .. .. .. .. smtpd > > in master.cf. That works for ipv4 and "[::1]:submission ..." works for ipv6. I'm further than I was, thanks. Is there a way to make it

Re: smtpd and submission inet_interfaces

2020-05-08 Thread Wietse Venema
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 > > tha

Re: smtpd and submission inet_interfaces

2020-05-08 Thread 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 ma

Re: smtpd and submission inet_interfaces

2020-05-08 Thread Wietse Venema
Nick: > On 2020-05-08 18:41 BST, Wietse Venema wrote: > > master.cf settings override main.cf settings, and main.cf settings > > override built-in default settings. > > > > You can configure Postfix receive email on any IP address, as long > > as the IP address is configured (as primary or alias).

Re: smtpd and submission inet_interfaces

2020-05-08 Thread Nick
On 2020-05-08 18:41 BST, Wietse Venema wrote: > master.cf settings override main.cf settings, and main.cf settings > override built-in default settings. > > You can configure Postfix receive email on any IP address, as long > as the IP address is configured (as primary or alias). I'll try again a

Re: smtpd and submission inet_interfaces

2020-05-08 Thread Wietse Venema
Nick: > Can these be different - e.g. smtpd listens on 0.0.0.0 and [::], while > submission listens on 127.0.0.1 and [::1]? > > Adding '-o inet_interfaces=loopback-only' in master.cf under the > submission service then restarting postfix made no difference, according > to 'ss'. master.cf setting

smtpd and submission inet_interfaces

2020-05-08 Thread Nick
Can these be different - e.g. smtpd listens on 0.0.0.0 and [::], while submission listens on 127.0.0.1 and [::1]? Adding '-o inet_interfaces=loopback-only' in master.cf under the submission service then restarting postfix made no difference, according to 'ss'. Thanks -- Nick