Now all works fine. I have to add smtp_bind_address in main.cf, because any modification of original smtp_bind_address from master.cf did not work at all (thus in logs which I put you can see combinations like this one from port and comma). Based on documentation I thought I should modify smtp_bind_address from master.cf but no.
2018-04-17 13:33 GMT+02:00 Matus UHLAR - fantomas <uh...@fantomas.sk>: > On 17.04.18 13:26, Poliman - Serwis wrote: > >> Yes, you have right but this is already fixed. In postfix's config files >> is >> clear and setting works nice. But I am curious why set >> smtp_bind_address=X.X.X.X in master.cf like docs say didn't work in my >> case. I added it to main.cf then it works. >> > > according to you original post, at the begin you have only set > inet_interfaces in > your main.cf, not smtp_bind_address. > You have only set smtp_bind_address in master.cf, with invalid syntax. > > > Poliman - Serwis: >>> > Thank you for answer. You understand me wrong. I can't believe that I >>> made >>> > a typo there and left comma. I know that comma is a form of >>> whitespace. ;) >>> > But I am curious why set smtp_bind_address=X.X.X.X in master.cf like >>> docs >>> > say didn't work in my case. I added it to main.cf then it works. >>> >> > 2018-04-17 13:06 GMT+02:00 Wietse Venema <wie...@porcupine.org>: >> >>> Your logs say otherwise: >>> >>> Apr 12 11:48:09 s1 postfix/smtp[12985]: fatal: >>> smtp_connect_addr: bad smtp_bind_address parameter: >>> 54.38.202.128,: Name or service not known >>> >>> Here, you specified "54.38.202.128," including the comma. >>> >>> Apr 12 11:49:00 s1 postfix/smtp[13190]: fatal: >>> smtp_connect_addr: bad smtp_bind_address parameter: >>> 54.38.202.128:10025,: Name or service not known >>> >>> Here, you specified "54.38.202.128:10025," including the >>> port :10025 and comma. >>> >> > -- > Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ > Warning: I wish NOT to receive e-mail advertising to this address. > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. > Eagles may soar, but weasels don't get sucked into jet engines. -- *Pozdrawiam / Best Regards* *Piotr Bracha*