Message leaving the server via EXIM should be from localhost

pucky

Verified User
Joined
Sep 9, 2006
Messages
758
I just noticed something today. When sending a message via an email client relayed thought the server as an authenticated user, that message is not sent as coming from LOCALHOST. Why is that?

Every single control panel we have ever used always sent mail outbound via localhost. After all, messages relayed via the server are considered LOCAL therefore the outbound exim message should be reflecting this.

And here is the reason why. If your running MailScanner for instance and you want to WHITELIST all messages outbound via LOCALHOST, you cant do it because its not considered local so MS + SA will start score your local users as spammers. Whitlisting localhost or the servers ip will prevent all authenticated users from being spam checked, provided that exim is configured to recognized the server as LOCALHOST or the IP of the box. I dont even see exim reporting my outbound hostname. There is no hostname recorded in any outbound message. Whats going on?

This is a big problem and uncharacteristic of how Exim should be functioning. All mail send via the server should ALWAYS be from localhost. Something in exim.conf is screwed up, and i suspect its in the router section.
 
Last edited:
Back
Top