[email protected]:
> if web client (a web application) connects to xxx.yyy.zzz.79 => emails are
> sent through xxx.yyy.zzz.79 (instance 1),
>
> if it connects to xxx.yyy.zzz.80 => emails are sent through xxx.yyy.zzz.80
> (instance 2),
Here you talk about the IP address that Postfix uses to receive mail.
> Everything worked properly, I thought! Until I discovered some complaints
> messages from Yahoo that say:
>
> 421 4.7.0 [TS01] Messages from xxx.yyy.zzz.79 temporarily deferred due to
> user complaints <-- from INSTANCE 1 IP address
>
> BUT I sent messages through xxx.yyy.zzz.80 that is IP address of instance
> (2)!!!.
Here you talk about the IP address that Postfix uses to send
mail.
To fix the source IP address for sending mail either:
- Specify smtp_bind_address in the respective main.cf files.
or:
- Specify ONE address with the inet_interfaces parameters
in the respective main.cf files.
Wietse