Hrm. Using SA 2.55, I'm getting errors when trying to use sa-learn.
I was using auto-learn, but a few spams slipped through and I was trying to feed them into sa-learn.


Anybody know a way to resolve this?
I'm using Gentoo Linux on this particular machine, SA was installed from CPAN initially and then upgraded with the ebuild.


mailgate spam # sa-learn --showdots --spam --dir cur/
Failed to create default user preference file /home/jnichols/.spamassassin/user_prefs
Cannot open bayes_path /var/spool/spamassassin/bayes R/O:
Cannot open bayes_path /var/spool/spamassassin/bayes R/W: File exists
.Cannot open bayes_path /var/spool/spamassassin/bayes R/W: File exists
.Cannot open bayes_path /var/spool/spamassassin/bayes R/W: File exists
.Cannot open bayes_path /var/spool/spamassassin/bayes R/W: File exists
.Cannot open bayes_path /var/spool/spamassassin/bayes R/W: File exists


(repeat that until I hit Ctrl-C)

mailgate spam # sa-learn --rebuild
Failed to create default user preference file /home/jnichols/.spamassassin/user_prefs
Cannot open bayes_path /var/spool/spamassassin/bayes R/O:
Cannot open bayes_path /var/spool/spamassassin/bayes R/W: File exists
Cannot open bayes_path /var/spool/spamassassin/bayes R/W: File exists
mailgate spam # /etc/init.d/spamd restart
* Stopping spamd... [ ok ]
* Starting spamd... [ ok ]
mailgate spam # sa-learn --rebuild
Failed to create default user preference file /home/jnichols/.spamassassin/user_prefs
Cannot open bayes_path /var/spool/spamassassin/bayes R/O:
Cannot open bayes_path /var/spool/spamassassin/bayes R/W: File exists
Cannot open bayes_path /var/spool/spamassassin/bayes R/W: File exists
mailgate spam #


mailgate spamassassin # file bayes_*
bayes_journal:  ISO-8859 C++ program text
bayes_msgcount: ASCII text, with very long lines, with no line terminators
bayes_seen:     GNU dbm 1.x or ndbm database, little endian
bayes_toks:     GNU dbm 1.x or ndbm database, little endian
mailgate spamassassin #

-Jonathan




------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to