Re: Implement Protocol Filter

From: Christoph Petersen <>
Date: Fri, 12 Sep 2008 09:44:49 +0200

Hi Holger,

Holger Just 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.

Didn't think of that at all. But my actual guess is that the mail doesn't reach the SpamAssassin at all. But I will check this first until I need to buy some C books and hack the code :)

> 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.
> Cheers, Holger

Christoph Received on 2008/09/12 09:44

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