On 22/02/17 09:18, Dirk Stöcker wrote: >>> main.cf: >>> inet_interfaces = localhost, mail.stoecker.eu >> >> Just remove the above, so it defaults to, "all". > > That assumes that mail.stoecker.eu is the only external IPv6 address. > The advantage of IPv6 is that each service can have an own address, so > that server has many addresses and they should not offer port 25 or 587 :-)
The issue is that you're forcing it to do a DNS lookup for mail.stoecker.eu, a DNS lookup that could fail, btw, and cause problems. If you're specifying the IP in master.cf anyways then postfix will only bind to what is in master.cf even if this is set to all. Try it and check your binds with netstat or ss. > Seems the newer systems don't assign ::1 to localhost anymore > to reduce trouble with old software. If you're worried about this you can always assign a new name such as localhost_all or something and use that so as not to break old software that relies on localhost only being assigned to IPv4. Peter