store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Mon Oct 14, 2019 8:52 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Day old Bread false positives
Unread postPosted: Tue Oct 07, 2014 10:05 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jan 23, 2007 10:18 am
Posts: 116
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: Day old Bread false positives
Unread postPosted: Tue Oct 07, 2014 10:32 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 8329
Location: earth
thats how I'd do it:

score URIBL_RHS_DOB 0.0

and then restart spamassassin


Top
 Profile  
Reply with quote  
 Post subject: Re: Day old Bread false positives
Unread postPosted: Tue Oct 07, 2014 10:33 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jan 23, 2007 10:18 am
Posts: 116
right, but where does it go?

I've tried those two files with no result. does it somehow go in qmailscanner.ini?


Top
 Profile  
Reply with quote  
 Post subject: Re: Day old Bread false positives
Unread postPosted: Tue Oct 07, 2014 10:43 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jan 23, 2007 10:18 am
Posts: 116
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Day old Bread false positives
Unread postPosted: Tue Oct 07, 2014 4:18 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 8329
Location: earth
Not sure whats going on there then, thats every place its defined. The local.cf would override everything else


Top
 Profile  
Reply with quote  
 Post subject: Re: Day old Bread false positives
Unread postPosted: Tue Oct 07, 2014 5:25 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2321
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>


Top
 Profile  
Reply with quote  
 Post subject: Re: Day old Bread false positives
Unread postPosted: Tue Oct 07, 2014 5:56 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 8329
Location: earth
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: MSN [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group