Re: [Exim] exim-4.34/spamassassin looping

Top Page
Delete this message
Reply to this message
Author: Tim Jackson
Date:  
To: exim-users
Subject: Re: [Exim] exim-4.34/spamassassin looping
Hi Mark, on Mon, 26 Jul 2004 21:54:33 -0400 (EDT) you wrote:

> I'm rejecting at SMTP DATA time with Exiscan if it's above a high site
> threshold, then running SA the "old" way in order for individual user
> preferences to apply the 2nd time around.


Hmm, interesting! Your users are certainly well looked-after!

> But now that I see a message from the author of the Spam & Virus
> Scanning with Exim 4 using Exiscan guide, I begin to wonder if I've made
> a gross mistake. In section 3.1.2 of your guide, 'hybrid solution a' led
> me to believe that individual preferences were not applied when SA was
> running at SMTP DATA time & that I could rerun SA later on to get those.
> Did I misread this?


No, not at all...what you're doing sounds perfectly reasonable. Well,
except that you could consider the "Alan Flavell" method of multiple scan
profiles at SMTP time (hybrid solution c), but it's true that that's only
going to give your users a couple of extra choices if you don't want to
unduly delay deliveries. Certainly, if you want *full* per-user
customisation you'll have to run it through a router/transport, like
you're doing. Perfectly OK as long as you're not blanket-rejecting stuff
and can afford the resources to SpamAssassin-scan a mail n+1 times where n
is the number of recipients :)

[snip SA router/transport fix]
> Excellent. It works perfectly after fixing that stupid mistake.
> But now I'm also now I'm also confused as to why *all* of my mail wasn't
> looping.


Eli's hit the nail on the head with his note about the X-Spam-Status
header which you also check. That'll be why.


Tim