Strange thing. Google says "spf=pass", mailing works but in mail.err file I have:
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 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 As I mentioned in earlier message I set smtp_bind_address = 54.38.202.128 in /etc/postfix/main.cf. 2018-04-12 16:29 GMT+02:00 Wietse Venema <wie...@porcupine.org>: > 2018-04-12 15:39 GMT+02:00 Wietse Venema <wie...@porcupine.org>: > > > 2018-04-12 12:56 GMT+02:00 Wietse Venema <wie...@porcupine.org>: > > > Please define "not working". > > > > Poliman - Serwis: > > > main ip - 145.239.29.218 > > > failover ip - 54.38.202.128 > > > Not working means mails do not outbound. This same as for line > > > inet_interfaces = 54.38.202.128. > > > > As documented in http://www.postfix.org/postconf.5.html#inet_interfaces, > > on a multi-homed host DO NOT restrict inet_interfaces, instead: > > - specify the server IP address in master.cf. > > - specify the client IP address with smtp_bind_address. > > > > No further support without error messages. > > Poliman - Serwis: > > Thank you for answer. In logs I have this same line which I pasted. I can > > Please do not ask me to go read the whole thread. > > What is the POSTFIX error message for the configuration cited above? > > How does POSTFIX know that it should send mail from the main IP address? > > How does POSTFIX know that it should send mail from the failover IP > address? > > Wietse > -- *Pozdrawiam / Best Regards* *Piotr Bracha*