Dave's Brain

Browse - Computer Tips - Why does Spam Assassin say autolearn=failed on all my mail?

Date: 2008mar31

Q.  Why does Spam Assassin say autolearn=failed on all my mail?

A.  It doesn't have permission to access its database.

Find which user Spam Assassin is running as and do this as root:

cd ~spamchk chmod 777 . mkdir .spamassassin chmod 777 .spamassassin chown spamchk.spamchk .spamassassin
Assuming you are running:
spamc -u spamchk
Perhaps in /usr/local/bin/spamchk Alternately you can turn off auto learning in the Spam Assassin config file but its good to have it learn. More Info: http://www.davekb.com/search.php?target=spamassassin http://wiki.apache.org/spamassassin/AutolearningNotWorking

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.