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

Pàgina inicial
Delete this message
Reply to this message
Autor: Jasen Betts
Data:  
A: exim-users
Assumpte: 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