Hello, On Sun, Oct 03, 2010 at 04:27:16PM +0200, Udo Hortian wrote:
If I understand correctly, the value of primary_hostname in the file /etc/exim/exim4u_local.conf.inc is used as outgoing IP address if MULTI_IP is NO in this file. As my experience shows, this is not the case.
After installing exim4u on a host with primary_hostname a FQDN, say FQDN1 that points to an ip address IP1 of this box everything worked fine. Now I changed this value to another FQDN, say FQDN2 that points to another ip address IP2 of this box. In the outgoing_ip field of the domains table in the MySQL database also IP2 appears. But when sending outgoing mails from the domains I configured in exim4u, IP1 is used for the SMTP connection. What am I doing wrong? In principle I want that outgoing connections are everytime made from IP2. Note that I use MULTI_IP = NO. I found a solution for the problem. I set MULTI_IP to YES and I will use the same outgoing IP address for every domain. The documentation says that a unique ip address must be assigned to each domain. I do not really see the reason for this. I think one should have a PTR entry for every IP address that is used as an outgoing IP address in SMTP connections and that the name appearing in this PTR entry should have a A entry pointing to this IP address. But I do not see a technical reason why a different IP address must be used for every domain.
Best, Udo