Re: SA-exim uses only tempreject
DOMA Peter <[email protected]> Thu, 08 Feb 2007 09:58:48 +0100
| Newsgroups | gmane.mail.exim.spamassassin |
|---|---|
| Message-ID | <[email protected]> |
Hi, > Sorry for the delay. > > The reason tempreject is happening is because devnull and permreject > didn't trigger for some reason. > I looked at the code for you, and the only reason I could find was that > isspam is not being set to 1 (i.e. spamassassin isn't flagging the > message as spam). > I'll admit that it's not super obvious, but sa-exim will not reject a > message, regardless of the score, if SA doesn't say it's spam > ( X-Spam-Status: yes ) > If you tweak your SA config according, things should work. > > Admittedly, this restriction should go away: sa-exim should just not > care whether SA says it's spam or not, and only look at the spam score > I wrote a mail to the list just a couple of hours later, i came to the very same conclusion as I looked at the source, and I reconfigured SA accordingly. Due to historical reasons i couldn't use the default headers from SA, and that caused this fault. However, when I have time I'm willing to create a patch which solves this problem and handles this case in a more elegant way. Thanks for your reply and again, thanks for this very smart piece of code, it helped to handle spams in a way I never dreamt of while I was working with other mailers. Best regards, Peter