On Mon, 2007-05-07 at 11:51 -0700, Bill Shupp wrote: > Shane Chrisp wrote: > > On Mon, 2007-05-07 at 13:58 +0800, Shane Chrisp wrote: > > > > Well I can confirm that raising the score to 10 as below fixed the > > issue. It would appear that if SA marks the message as spam, then > > simscan would bounce it regardless of the score in the simcontrol file. > > Im using a score of 10 as none of the domains are using a score higher > > than this, but you would probably be able to set the required_hits to > > 100 if you wanted to. > > > > Spamd: > > 2007-05-07 21:08:06.336703500 [678] info: spamd: clean message > > (8.6/10.0) for clamav:89 in 6.9 seconds, 18645 bytes. > > > > simscan: > > 2007-05-07 21:08:06.448404500 simscan:[2406]:SPAM REJECT > > (8.60/5.50):9.3654s:Any idea:... > > > > Shane > > > > > > I thought spam_hits was to be used with spam_passthru. So you would not > rely on rejecting spam via spam_assassin's threshold, but only spam_hits > in simcontrol. So that the point of spam_hits is so you can allow spam > in under a certain threshold, say for going through an optional spam > folder, rather than SMTP rejection. This is the only way that I've used > spam_hits in the past rather than just turning off passthru. > > Regards, > > Bill
I tried using spam_passthru but had too many issues with maildrop that in the end I just stuck with this setup and it worked well until this I recompiled. My compile options for simscan are ./configure --enable-user=clamav --enable-clamav=y --enable-spam=y --enable-spam-hits=10 --enable-per-domain=y --enable-custom-smtp-reject=y --enable-attach=y --enable-ripmime --enable-received=y --enable-spam-auth-user=y --enable-spamassassin-path=/usr/local/bin/spamassassin --enable-spamc=/usr/local/bin/spamc According to the wiki if you want to use the options --enable-spam and --enable-spam-hits=number you should not use --enable-spam-passthru. Although reading the wiki it would appear that this is not happening as the description says: quote: "Perhaps the most popular method is a mix of the others. Which is to reject email that scores very high and to pass through other email to the user even if it is marked as spam. This seems to help with the "false positive" issue; email marked as spam but not really spam. Use these options: --enable-spam --enable-spam-hits=number where number is the spamassassin score at which you want to reject the email" Anyway this is working well for me now, so no need to change anything. I can live with simply telling SA that spam has an incredibly high score and letting simscan work it out from there. cheers Shane
