At 10:48 AM 8/20/2007, Richard Bishop wrote:

>Hello all,
>
>I noticed today that there is a client_addr field in the r/w 
>database that stores the source server's IP address.  On my setup 
>(Exim4 -> Amavisd-new -> Exim4) this is always populated with NULL.
>
>Having checked the mailing list I see that this is reliant upon the 
>XFORWARD feature of Postfix (details on this are here for anybody 
>not aware of it - 
>http://www.postfix.org/XFORWARD_README.html).  Obviously Exim 
>doesn't have this feature - though there is a patch available 
>(http://lists.exim.org/lurker/message/20060518.093957.3322cd9c.en.html).
>
>Has anybody found a way / have any suggestion how to get this 
>working using Exim rather than Postfix?  I'm not too keen about 
>patching either Exim or Amavis because it makes upgrading a 
>headache.  I've not looked into the code that deeply though surely 
>the same information could be carried in a standard header called 
>'X-Forward-IP' (or similar)?
>
>Is it really that easy or am I missing something somewhere?  The 
>general opinion on the Exim-dev list seems to be that the XFORWARD 
>feature isn't required so it doesn't look like the patch will make 
>it into the official binary any time soon.
>
>I'd appreciate your comments / suggestions.

The advantage of the SMTP XFORWARD extension is that the client IP is 
available *prior to* envelope data and without having to parse the 
already-received message to extract it.  One could also argue that 
the information is also already available via Received: headers.

Using XFORWARD makes after-queue content filtering (such as with 
amavisd-new) simpler, and makes the logging far easier to follow.

Those are reasons to use XFORWARD, and there isn't really a substitute.

It looks as if your choices are to live with Exim's limitations, 
patch Exim, or switch to some MTA that supports XFORWARD - at least 
for the pre-filter front end.

-- 
Noel Jones 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to