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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jasen Betts
Dátum:  
Címzett: exim-users
Tárgy: 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