A quick and easy performance improvement

Anthony Peacock a.peacock at chime.ucl.ac.uk
Thu Jul 27 13:33:02 IST 2006


You need to tell the SpamAssassin command line tools to read your 
spam.assassin.prefs.conf file. something like:

sa-learn --sync -p /opt/MailScanner/etc/spam.assassin.prefs.conf


spamassassin -p /opt/MailScanner/etc/spam.assassin.prefs.conf

Green, Rodney wrote:
> Hello,
> I've set the bayes_path option in spam.assassin.prefs.conf, moving the 
> bayes files to a ramdisk When I run sa-learn --sync to merge the journal 
> into the database it doesn't
> find the files in their new location. I have to add the --dbpath flag to 
> get it to work. Also, when I run spamassassin --lint -D to check things 
> out, it looks for the bayes files
> in their old location /root/.spamassassin/. I did stop MS before moving 
> and reconfiguring the bayes path. Anyone know what might be wrong?
> Thanks,
> Rod

Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW:    http://www.chime.ucl.ac.uk/~rmhiajp/
"If you have an apple and I have  an apple and we  exchange apples
then you and I will still each have  one apple. But  if you have an
idea and I have an idea and we exchange these ideas, then each of us
will have two ideas." -- George Bernard Shaw

More information about the MailScanner mailing list