Thanks a lot, Mr. Venema.

As you can see, I have a bind address in master.cf with:
                -o smtp_bind_address=xxx.yyy.zzz.79
Is it OK or "smtp_bind_address" in main.cf is different?

Regarding "inet_interfaces" I usually have something like this (in every
instance main.cf file, changing IP for each one):
inet_interfaces = xxx.xxx.xxx.79, localhost
Is it correct with "localhost" or I must write just the IP used for
accepting smtp connections from my client?

Finally, in my main.cf files I have:
mynetworks = xxx.xxx.xxx.79/32, xxx.xxx.xxx.80/32, xxx.xxx.xxx.81/32,
127.0.0.0/8
where I usually list all IPs used for every instance of Postfix (5 instances
=> 5 IPs).

Maybe the error is here!?

Thank you.
-Francesco



-----Messaggio originale-----
Da: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org]
Per conto di Wietse Venema
Inviato: mercoledì 18 marzo 2015 21:37
A: Postfix users
Oggetto: Re: Strange behaviour of my multi-instance server

i...@itrezero.it:
> 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


---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
http://www.avast.com

Reply via email to