Re: [exim] Changing email headers to reflect server IP when …

Top Page
Delete this message
Reply to this message
Author: Jasen Betts
Date:  
To: exim-users
Subject: Re: [exim] Changing email headers to reflect server IP when they, pass through Exim

On 2015-04-22, James Worix <james.worix@???> wrote:

> I'm honestly hoping there was a way to dynamically rewrite IP address in
> the email header to reflect the server it's being sent from. That would
> solve the issue completely.


There absolutely is. The received header is created using string
expansion, so you have all the tools in chapter 11 of the exim
spec at your disposal.

Perhaps some sort of lookup: if the ip address isn't found in the list
of good addresses substitute in "10.0.0.2" or, or just replace the
dots with dashes: that may be enough to throw the errant firewalls
off the scent.

Messing with received headers may make dealing with loops harder.


--
umop apisdn