Re: [exim] Exim 4.82, Amavis, XFORWARD

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Todd Lyons
Datum:  
To: thunder
CC: exim-users
Betreff: Re: [exim] Exim 4.82, Amavis, XFORWARD
On Mon, May 26, 2014 at 7:49 AM, <thunder@???> wrote:
>>> I am trying to use Amavis and Exim together. For the most part it is all
>>> working fine, except I have an issue that I cannot use the "policy bank"
>>> functionality of Amavis due to Exim apparently not supporting the
>>> XFORWARD extension in its SMTP transport, this is covered in:
> Amavis is quite a popular choice for mail filtering, for obvious reasons.
> This is a bit of a let down for anyone wanting to use Amavis with exim.
> Surely
> I'm not the only person to hit this road block. Is there any workaround?


Does Amavis support Proxy Protocol? If yes, then the next release
will have Proxy Protocol as a supported method of passing remote
information like this.

Notes:
1) It will be in exim 4.83. The release process is just starting now,
so there will be several RC's and such released before the official
release. I'd be suprised if it ends up being less than a month from
now.
2) You can take the patches, there are about 4 of them, and apply them
to your exim 4.82 package and build it. Unless you build apps with
reasonable frequency, this is not the easiest thing in the world.
3) Amavis is a perl app. I also wrote a perl script, in the exim
repository, which emulates the proxy and sends Proxy Protocol
negotiation as part of the connection. It would likely be not *too*
hard to hack that code into Amavis and give it that capability.

http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt

The "proxy protocol version 2" extension dated 5/18/14 that is
mentioned in the documentation is indeed in Exim, as well as the perl
utility script.

...Todd
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine