Re: Implement Protocol Filter

From: Christoph Petersen <lists#peterschen.de>
Date: Fri, 12 Sep 2008 09:47:17 +0200


Hi Willy!

Willy Tarreau wrote:

>> Christoph Petersen wrote:
>>> Maybe you can give me some advice if it is possible to implement a
>>> protocol handler or filter which is able to simply add a header field to
>>> the email which is scanned so we can track the server on which the mail
>>> was scanned.
>> Hi Christoph!
>>
>> I'm actually not that safe in configuring SpamAssassin, but according to
>> the documentation I read, you can add arbitrary headers using SA on its
>> own by using the add_header Keyword (as of 2.6.x) in its configuration.
>>
>> You could configure each of your Servers to insert a different header value.
>>
>> As far as I know, HAProxy is only able to handle SMTP Traffic as raw TCP
>> and can therefore not alter it.

>
> Yes, and it will be far easier once 1.3.16 is out, because implementing a
> new protocol will only be a new parser, without the complexity of managing
> the TCP states. So if you're not too impatient, wait a bit before jumping
> into the code, it will save you a lot of time.
>

Great. I'll check out the hint Holger pointed out. Otherwise I'll wait until the next release. Keep up the good work Willy. HAProxy is what of nice thingy :)

> Cheers,
> Willy

BR
Christoph Received on 2008/09/12 09:47

This archive was generated by hypermail 2.2.0 : 2008/09/12 10:01 CEST