R: Italian spam
Sergio Rabellino
rabellino at di.unito.it
Tue Sep 9 11:33:52 IST 2008
Following it's my configuration:
check into the spam.assassin.prefs.conf into the etc directory of
MailScanner for a line like
bayes_path /opt/MailScanner/etc/bayes/bayes
The last bayes is the filename prefix for the bayes database, and into
the directory
/opt/MailScanner/etc/bayes you will find something like these
-rw-r--r-- 1 root root 36 Sep 9 12:30 bayes.mutex
-rw-rw-rw- 1 root other 77736 Sep 9 12:30 bayes_journal
-rw-r--r-- 1 root root 41967616 Sep 9 12:30 bayes_seen
-rw-r--r-- 1 root root 167772160 Sep 9 12:30 bayes_toks
Now using the -C /opt/MailScanner/etc/spam.assassin.prefs.conf parameter
for sa-learn, you'll point your learner to the same database used by
mailscanner.
I'm using this config and the italian spam was detected after 3 users
submit their messages as spam.
Bye.
Marcello Anderlini ha scritto:
> I have not fount any bayes.mutex. So could I be sure that spamassassin is
> using the bayes database store in /root/.spamassassin ?
>
>
> 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: lunedì 8 settembre 2008 23.10
> A: MailScanner discussion
> Oggetto: Re: Italian spam
>
> On Mon, Sep 08, 2008 at 02:57:35PM +0200, Marcello Anderlini wrote:
>
>> 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 ?
>>
>
>
> So if you run sa-learn as root, it updates the bayes files in
> /root/.spamassassin/
>
> If MailScanner is also running as root, it is probably also using the same
> bayes files and should be learning from your sa-learn, but if it is running
> as some other user it may be using a different set.
>
> Try
>
> find / -name bayes.mutex
>
> and see if you find any other sets of spamassassin bayes files.
>
>
>
>> bayes.mutex
>> bayes_journal
>> bayes_toks
>> bayes_seen
>>
>
>
--
Ing. Sergio Rabellino
Università degli Studi di Torino
Dipartimento di Informatica
ICT Services Director
Tel +39-0116706701 Fax +39-011751603
C.so Svizzera , 185 - 10149 - Torino
<http://www.di.unito.it>
-------------- next part --------------
Skipped content of type multipart/related
More information about the MailScanner
mailing list