Dave's Brain

Browse - computer tips - autolearn=failed

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
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, 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.
Advertisements: