[Exim] exim and local_scan SpamAssassin and receiving mails …

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Chad Leigh -- Shire Net LLC
Fecha:  
A: exim-users
Asunto: [Exim] exim and local_scan SpamAssassin and receiving mails that have been SA scanned somewhere else
Hi

I am scratching my head on this problem. I have Spam Assassin running
in local_scan.c using the Marc Merlin stuff, and it works quite well.
However, I get mail that has already been scanned somewhere else by
Spam Assassin and has the "X-Spam-Flag" flag set to YES, using
different criteria than are set in our Spam Assassin. So after our
Spam Assassin runs on it, the various X-Spam-* headers that Spam
Assassin adds get replaced by new ones, but since our SA might think it
not to be spam, the previous "X-Spam-Flag" flag with YES is still
there, even though the "X-Spam-Status: No, ..." header from our SA says
no. This confuses our users' filters in their clients (we only add
headers with our SA, we never delete stuff ourself).

I have looked through the Spam Assassin docs and config files to see if
there is a setting to purge existing SA headers prior to running, and
in the local_scan SA stuff for exim, and in the exim mail flow, to see
if there was a way of purging these headers myself and I have not come
up with any solutions or found anything.

Does someone have a suggestion or see a solution to this?

Thanks
Chad