[exim] exim 4, spam forward, header rewriting, postfix

Página Inicial
Delete this message
Reply to this message
Autor: Rakotomandimby (R12y) Mihamina
Data:  
Para: exim-users
Assunto: [exim] exim 4, spam forward, header rewriting, postfix
Hello.

I have a problem with one mail system.

First, I used an exim4 MTA combined with SA. (Let SA be SpamAssassin)

SA used to rewrite the X-Spam-xxx flags to report what he finds. It's
OK, the stuff work very well, the $HOME/.forward filter on X-Spam-xxx
header is OK.

SA changes the spam message and the body becomes the SA report and the
initial Spam becomes attachement.

Now, my physical mail server is about to change, and I'm now based on
another mail server wich is a postfix one, on another domain.

The idea I found is to edit /etc/alias on the first (exim) server to
tell to forward the messages for my-login to my my-login@???
Like this:

mihamina : mihamina@???

It works... almost:

On the new server is also a running SA.

The messages modified by SA on the first server are forwarded too, but
they're modified, and the body is the SA report.

The second SA (on the postfix-procmail) checks it and finds it OK and
then overwrite the X-Spam-xxx! then I receive it instead of having it
processed by procmail!

Doesn't SA check the X-Spam header before overwriting it? Who rewrote
the X-Spam header? Can I assume it's the second SA check?
-- 
ASPO Infogérance       http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
LUG sur Orléans et alentours (France).
Tél : 02 34 08 26 04 / 06 33 26 13 14