Day old Bread false positives

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
jmackenz
Forum Regular
Forum Regular
Posts: 116
Joined: Tue Jan 23, 2007 10:18 am

Day old Bread false positives

Unread post by jmackenz »

Running 11.5.30 Update #47 , with qmail scanner , and getting false positives on 5.0 URIBL_RHS_DOB

I tried adding score URIBL_RHS_DOB 0 to /etc/mail/spamassassin/local.cf , with no change and made the same change in /usr/share/spamassassin/local.cf , with no change either.

Where would this have to go to let spamd actually see it?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8330
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Day old Bread false positives

Unread post by scott »

thats how I'd do it:

score URIBL_RHS_DOB 0.0

and then restart spamassassin
jmackenz
Forum Regular
Forum Regular
Posts: 116
Joined: Tue Jan 23, 2007 10:18 am

Re: Day old Bread false positives

Unread post by jmackenz »

right, but where does it go?

I've tried those two files with no result. does it somehow go in qmailscanner.ini?
jmackenz
Forum Regular
Forum Regular
Posts: 116
Joined: Tue Jan 23, 2007 10:18 am

Re: Day old Bread false positives

Unread post by jmackenz »

find / -name "*local.cf"
/usr/share/spamassassin/local.cf
/etc/mail/spamassassin/local.cf
/var/lib/spamassassin/3.003002/updates_spamassassin_org/local.cf


all three files edited, service spamassassin restart

service spamassassin status shows different PID before and after , yet still it scores 5
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8330
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Day old Bread false positives

Unread post by scott »

Not sure whats going on there then, thats every place its defined. The local.cf would override everything else
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Day old Bread false positives

Unread post by faris »

I suggest you do something like:

# spamassassin -D --lint > sadebug.txt 2>&1
or
# spamassassin -D < actual-email.txt > sadebug.txt 2>&1

(where actual-email.txt is either a test email or ideally an actual email that's causing the false positive)

And take a look at what files it is loading, why it is scoring etc etc etc
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8330
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Day old Bread false positives

Unread post by scott »

the difference here being spamassassin vs spamc. spamassassin is going to load the config in the context of the user, and not use spamd (this is really useful for debugging). You can run the same test using spamc and if your configs are in sync then the results should be identical. If they are not, then you know that a config setting in the spamd context is your culprit.
Post Reply