Email Header Question

quackweb

Verified User
Joined
Nov 16, 2003
Messages
165
Location
Denver, Colorado
Hello everyone, I had a question about changing email headers when using remote SMTP, maybe someone can give me some insight into this?

Some of our users send mail locally, we want to keep these settings intact.

However, some connect to amazon ses or mailgun to send via there remote smtp servers, for these users we do not want the hostname or host ip in the mail header for example

Received: from www.somedomain.com (hostname.someotherdomain.com
[xxx.xxx.xxx.xxx]) by mxa.mailgun.org with ESMTP id

should be

Received: from www.somedomain.com by mxa.mailgun.org with ESMTP id

Is it possible only to change this for remote smtp email sent via exim? If so, how?
 
How are your users connecting to mailgun.org?

While manipulating headers is frowned upon as it breaks the ability to track problems, it may be possible, but answer the above question.

Jeff
 
Back
Top