All,

 

Environment:

James 2.1.3

Linux (FC1)

 

I have a server with one physical network card but a total of 4 IP's bound
to it.

eth0

eth0:1

eth0:2

eth0:3

 

I also have two instances of James running:

Instance A -> SMTP on eth0

Instance B -> SMTP on eth0:1

 

It seemed like mail was working fine until I tried to send mail to a
specific destination. In the mailet log I got a message "Relaying denied". 

 

It seems like the outgoing messages for "Instance B" is actually being sent
through eth0 and not eth0:1. James is correctly bound to have "Instance A"
only listening on eth0 and "Instance B" only listening on eth0:1 for
incoming messages. It seems like the destination is doing a reverse DNS
lookup on the IP that the mail was sent from. Seeing that "Instance B" is
sending from eth0 but the actual DNS is set to eth0:1 the destination thinks
that the message is being relayed.

 

How can I ensure that James use a specific interface to send all outgoing
message through?

 

Outgoing messages for "Instance A" must use eth0 and outgoing messages for
"Instance B" must use eth0:1.

 

Etienne Richards

Reply via email to