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

Top Page
Delete this message
Reply to this message
Author: Stefán Tamás
Date:  
To: exim-users
Subject: Re: [exim] Changing email headers to reflect server IP when they pass through Exim
2015. 04. 17, péntek keltezéssel 14.15-kor James Worix ezt írta:

> 2. Rewrite the headers of the email to reflect the server's ip address
> (free)


We use eximfilter.conf to remove the Received headers based on some
conditions and add a new Received header. Something like this:

if $header_Received: contains "example.com" then
headers remove "Received"
headers add "Received: from some.fix.ip ([192.168.1.1] helo=some.fix.ip)
by your.mailserver.com with esmtpa (Exim 4.69)"
endif

You can be creative to change the conditions and the added new header.

Stefán Tamás
--------------------------------- domain > email > web >>> siker
Numex Informatika Kft.
Mobil: +36 20 956 0233, Tel: +36 1 205 3915, Fax: +36 1 203 6037
http://numex.hu