Re: [webmin-devel] [SpamAssassin 3.0 on Debian 3] Error messages

Martin Mewes <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Organization Agent 2.0 Beta Tester
Message-ID <[email protected]>
Hi myself ;-)

Martin Mewes <[email protected]> wrote:

>Cannot open bayes databases /home/macmewes/.spamassassin/bayes_* R/O: tie
>failed: 
>Cannot open bayes databases /home/macmewes/.spamassassin/bayes_* R/W: tie
>failed: Inappropriate ioctl for device
>1 message(s) examined.

The reason was ...

After upgrading SA you have to manually delete the files bayes_* and built
up new databases with collected spam

/usr/bin/sa-learn --spam --mbox --showdots newspam

and/or with collected ham

/usr/bin/sa-learn --ham --mbox --showdots goodstuff

A chmod 600 on all the files foes the rest.


Maybe it is possible to distribute a collection of spam with this module to
automate this process if these errors come up, in that way someone can
forcivly built up a new database like this

cd ~/.spamassassin
chown $user.$group ~/.spamassassin/*
rm -f bayes_*
/usr/bin/sa-learn --spam --mbox $badstuff
chmod 600 ~/.spamassassin/*


bis dahin - kind regards

Martin Mewes

-- 
######################################################################
http://www.webmin.com/	| Webbased Administration Tool for
http://webmin.mamemu.de/| Unixoid Systems :-)
Official Webmin/Usermin Translation Co-Ordinator 2003/2004
######################################################################



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.