R: Italian spam

Marcello Anderlini m.anderlini at database.it
Wed Sep 10 11:11:15 IST 2008

This is the result of your suggested command:
 bayes_auto_expire 0
bayes_ignore_header X-MailScanner
bayes_ignore_header X-MailScanner-SpamCheck
bayes_ignore_header X-MailScanner-SpamScore
bayes_ignore_header X-MailScanner-Information 

I have also noticed that if I run these command from crontab I found two
file (bayes_seen and bayes_took) in /.spamassassin directory.
Instead if i run these command directly from "prompt" no new file are
written in /.spamassassin directory !?
sa-learn --spam --no-sync --mbox /var/mail/spam
sa-learn --ham --mbox --no-sync /var/mail/notspam
sa-learn --sync

I have also check (as suggested in one other email) and I have a link
between /etc/mail/spamassassin/mailscanner.cf ->

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

-----Messaggio originale-----
Da: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] Per conto di Mark Sapiro
Inviato: martedì 9 settembre 2008 18.27
A: MailScanner discussion
Oggetto: Re: Italian spam

On Tue, Sep 09, 2008 at 03:26:06PM +0200, Marcello Anderlini wrote:
> Hello, in my /etc/Mailscanner/spam.assassin.prefs.conf
> I have just this commented line:
> #bayes_path                 /var/spool/spamassassin/bayes

Do you have any uncommented bayes settings in spam.assassin.prefs.conf?

In particular, 'use_bayes'.  What does

 grep bayes /etc/MailScanner/spam.assassin.prefs.conf |grep -v ^#


> I have look all around and I don't found any bayes.mutex file.
> I have found only these files in /root/.spamassassin ==============
> -rw-------  1 root root       168 Sep  9 15:23 bayes_journal
> -rw-------  1 root root 172904448 Sep  9 15:23 bayes_seen
> -rw-------  1 root root   9105408 Sep  9 11:07 bayes_toks
> ==============
> I can set sa-learn to use this directory ?

if sa-learn is run by root without specifying a configuration file, it will
use this directory by default.

You can verify by noting if the timestamps are updated when you run

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

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