[exim] Outgoing mail has wrong IP address

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Kris Monstad
Datum:  
To: exim-users
Betreff: [exim] Outgoing mail has wrong IP address


Hi there,

I have a problem concerning exim - which Im brand new to - which I'll try
and describe...

Currently we have smtp from the outside world coming to our gateway machine,
which runs exim, and then onto our main mail machine (exim too) via a
'dc_smarthost' entry. The mapping to gateway is done by the company we lease
the subnet from. Incoming mail works fine.

However, on it's way out there is no analogue, mail is just sent from our
main mail server and leaves via gateway, without any relay. So it is not
picking up the gateway IP address and, as a result, picking up the same
external mapping on it's way out. So outgoing mail is arriving with people
having come from some spurious address belonging to the company we lease
from.

This has only come to light due to this wrong address being blacklisted on
some spam site - i suspect this is how our mail has worked for some time.

Can I have outgoing mail send from main mail server to gateway and for
gateway to relay to the outside world, ie: a mirror image of how incoming
works?

We are using Exim 4.43.

Advice would be appreciated!
Many thanks,
Kris
--
View this message in context: http://www.nabble.com/Outgoing-mail-has-wrong-IP-address-tf4574389.html#a13057077
Sent from the Exim Users mailing list archive at Nabble.com.