Here is this line from message header and from log file: spf=softfail (google.com: domain of transitioning i...@biodermagame.pl does not designate 145.239.29.218 as permitted sender)
I fixed this problem. Below is needed result: spf=pass (google.com: domain of i...@biodermagame.pl designates 54.38.202.128 as permitted sender) smtp.mailfrom=i...@biodermagame.pl In /etc/postfix/main.cf configured (fixed version): inet_interfaces = all smtp_bind_address = ip_failover //added this line, I tried in master.cf but did not work 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*