[Spambayes] IMAP filter failes (readonly issue) - HELP!!! :(
Ra glas
rglasx at hotmail.com
Wed Sep 3 11:17:11 EDT 2003
Hi,
I'm using IMAP as my main mail service, and was pointed to by a friend to
SpamBayes as a good solution for killing all the annoying spam flying around
lately.
However, I've not been able to get the thing going since I get
"imaplib.readonly: HamBox is not writable" error (complete trace below).
I've used the very helpful info from "Setting up Server-Side Spam filtering
for IMAP" (http://www.boost-consulting.com/writing/server-side.html), and it
was a real treat - you should at least add a link to it in the FAQ.
Still no-go :(
I'm using a windows system and my mail server is Mdaemon. I've tried to
close outlook while running the script, but it didn't change a thing. No one
was using the server at the time of the test.
I've installed the following packages:
Python-2.3.exe
win32all-155.exe (Python w32 add-ons)
spambayes-1.0a4.zip
I've setup bayescustomize.ini as follows:
[imap]
server: 127.0.0.1
username: rani
password: <that's for me to know :) >
filter_folders: Inbox
unsure_folder: incoming-unsure
spam_folder: incoming-spam
ham_train_folders: HamBox
spam_train_folders: SpamBox
and here is what I got:
C:\Program Files\python\spambayes-1.0a4>..\python.exe imapfilter.py -t -v
SpamBayes IMAP Filter Alpha1, version 0.01 (May 2003),
using SpamBayes IMAP Filter Web Interface Alpha1, version 0.01
and engine SpamBayes Beta2, version 0.2 (July 2003).
Loading database hammie.db... Loading state from hammie.db database
hammie.db is a new database
Done.
Training
Traceback (most recent call last):
File "imapfilter.py", line 776, in ?
run()
File "imapfilter.py", line 762, in run
imap_filter.Train()
File "imapfilter.py", line 590, in Train
imap.SelectFolder(fol)
File "imapfilter.py", line 231, in SelectFolder
response = self.select(folder, False)
File "C:\Program Files\python\lib\imaplib.py", line 616, in select
raise self.readonly('%s is not writable' % mailbox)
imaplib.readonly: HamBox is not writable
Many thanks to all of you and keep up the *G R E A T* work!!! :)
C Ya,
Rani
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
More information about the Spambayes
mailing list