[Spambayes] IMAP filter failes (readonly issue) - HELP!!! :(

Ra glas rglasx at hotmail.com
Thu Sep 4 20:57:17 EDT 2003


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 

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:
win32all-155.exe (Python w32 add-ons)

I've setup bayescustomize.ini as follows:
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
Traceback (most recent call last):
File "imapfilter.py", line 776, in ?
File "imapfilter.py", line 762, in run
File "imapfilter.py", line 590, in Train
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,

MSN 8 with e-mail virus protection service: 2 months FREE* 

More information about the Spambayes mailing list