Just did a basic install of postfix on a U10.04LTS server.  Reading over the
manual and playing a bit, but the problem is this server will be one of 5
behind a load balancer (for other things).

Mail will only be outbound, and currently when the mail is sent from the 1st
box which is running the header shows;

Received: from mail.domain.com ([1.2.3.4])


Now the 1.2.3.4 IP is that of the loadbalancer (the outbound gateway for the
server).  The LB is on a /29 so I want to allocate a seperate virtual IP
1.2.3.5 for example which will have a virtual service set to pass that ip's
traffic to that mail server.  I tried to issue an smtp_bind_address =
1.2.3.5 and got the following error;
*warning: smtp_connect_addr: bind 1.2.3.5: Cannot assign requested
address*which I assume it's because that local box doesn't have that
IP.

So with all the above info, I just need to see how when the mail get's sent,
the received from has the [1.2.3.5] IP as opposed to the other.

Thanks.

Reply via email to