R: Italian spam

Marcello Anderlini m.anderlini at database.it
Mon Sep 8 13:57:35 IST 2008


I have these file in /root/.spamassassin. In /var/spool/MailScanner/ I have
not nothing except a  SpamAssassin.cache.db in
/var/spool/MailScanner/incoming

I do not use spamd but spamassassin it's called from Mailscanner.

It's correct ?

 


Dr. Marcello Anderlini
m.anderlini at database.it
---------------------------------------------
Database Informatica S.r.l.
Microsoft Certified Partner
Tel.  +39059775070
Fax. +39059779545
http://www.database.it
--------------------------------------------- 

-----Messaggio originale-----
Da: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] Per conto di Mark Sapiro
Inviato: sabato 6 settembre 2008 2.54
A: MailScanner List
Oggetto: Re: Italian spam

Marcello Anderlini wrote:

>I suspect then that my bayes filter is not working correctly.
>I dayly try to istruct spamassasin using 
>===========================================
>sa-learn --spam --mbox /var/mail/spam and sa-learn --ham --mbox 
>/var/mail/notspam ===========================================
>
>But it still scores that kind of spam as non spam, ...


Where are the files

bayes.mutex
bayes_journal
bayes_toks
bayes_seen

In my case, the files that spamassassin uses when invoked by MailScanner are

/var/spool/MailScanner/spamassassin/bayes.mutex
/var/spool/MailScanner/spamassassin/bayes_journal
/var/spool/MailScanner/spamassassin/bayes_toks
/var/spool/MailScanner/spamassassin/bayes_seen

However if I were to run sa-learn as userx, the files that would be updated
are in /home/userx/.spamassassin.

In my case also, I use spamd so I use for example

/usr/bin/spamc -u postfix -L spam < message

to learn a message as spam. You may have to experiment with the -u option on
sa-learn to get it to update the right bayes database.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 

--
Messaggio verificato dal servizio antivirus di Database Informatica


-- 
Messaggio verificato dal servizio antivirus di Database Informatica



More information about the MailScanner mailing list