Jeremy Kister | 16 Aug 2010 04:12
Favicon

spam reject on scores less than configured

I just upgraded simscan from a patched version of 1.2 to the current 1.4.0.

i'm getting incorrect rejections which in my logs look like:

simscan:[9871]:SPAM REJECT (17.10/20.00):6.4502s:Millions of satisfied 
customers can't be wrong - Extenze 
Works:98.126.245.138:monique@...:alice@...

simscan:[22217]:SPAM REJECT (40.90/20.00):7.5557s:News for alice_ Top 
brands 70% cheaper. art lack which 
prisoners:117.195.7.92:alice@...:alice@...

as you can see, the first message should not have been rejected.  it 
appears that instead of following the rules in 
/var/qmail/control/simcontrol, simscan is using the configured 
"--with-spam-hits" parameter, even though simscan is logging the right 
threshold.

I have configured simscan with:
./configure \
  --enable-user=simscan \
  --enable-clamav=n \
  --enable-per-domain=y \
  --enable-attach=n \
  --enable-spam=y \
  --enable-spam-passthru=n \
  --enable-spamc-user=n \
  --enable-spam-hits=10.0 \
  --enable-dropmsg=n \
  --enable-workdir=/var/run/simscan  \
(Continue reading)

James Smallacombe | 16 Aug 2010 05:03
Picon

Re: spam reject on scores less than configured

On Sun, 15 Aug 2010, Jeremy Kister wrote:

> --enable-received=y \
> --enable-spamassassin-path=/usr/local/bin/spamc

Possibly unrelated, but if you want to point to spamc instead of 
spamassassin, shouldn't you have used:

   --enable-spamc=PATH               Full path to spamc program.

Instead of:

   --enable-spamassassin-path=PATH   Path to the spamassassin binary

?

James Smallacombe		      PlantageNet, Inc. CEO and Janitor
up <at> 3.am							    http://3.am
=========================================================================

!DSPAM:4c68aa6e32711303310934!

Jeremy Kister | 16 Aug 2010 06:00
Favicon

Re: spam reject on scores less than configured

On 8/15/2010 11:03 PM, James Smallacombe wrote:
> Possibly unrelated, but if you want to point to spamc instead of 
> spamassassin, shouldn't you have used:

quite right. I reconfigured and that fixed that issue; thanks!

also to note, i also reconfigured without the --enable-spam-hits.

this causes simscan to reject all messages with scores > 5.0, even 
though the /var/qmail/simcontrol is clearly defined otherwise.

--

-- 

Jeremy Kister
http://jeremy.kister.net./

!DSPAM:4c68b7e332711886316247!