[Exim] Exim, SpamAssassin, and interpreting results

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jonathan Vanasco
Fecha:  
A: exim-users
Asunto: [Exim] Exim, SpamAssassin, and interpreting results
I've got SA-Exim built in to check spam at smtp time

Right off the bat, any mail spam-assassin flags as 20 or higher I want
to reject (which should block a bunch out if razor gets involved).

With the remaining mail, I'd like to deliver it to one of 2 places:
    $maildir -- mail ranked 12 or less
    $maildir/.spam-probable - mail ranked 12+


The idea being, a cron job would go through user directories daily
learning from
    $maildir/.spam-definate
    $maildir/.spam-notspam


A friend has this running pretty well with procmail and qmail. I think
I could get this done in exim alone

Just having a little bit of trouble with the logic.

Right now, i'm thinking that I use two separate routers -- the first
one substrings the SA header for the ranking, and fails the router if
its higher than 12 - else it hits a transport to the inbox. the second
router passes mail to a transport in the sub-folder of the inbox.

Does that seem right? or is there some way i could do an if-else with
a header regex in a single transport?