[Spambayes] RE: imapfilter.py

Tony Meyer ta-meyer at ihug.co.nz
Sat Sep 6 17:09:30 EDT 2003


> I hope you don't mind my writing to you. I'm trying to use 
> the SpamBayes imapfilter.py on my system (WinXP). I'm having some 
> difficulties which may or may not be related to the alpha status
> of the software. I found you named as author.

No worries, although for future reference, you should send these sorts of
things to the spambayes mailing list.  See
<http://spambayes.org/contact.html>.  If it's an imapfilter question I'll
probably still be the one to answer it, but you might get a faster answer
from someone else.

> I can start the web interface and set the configuration 
> options without running into any problems (although the names
> of my IMAP folders are garbled).

You're probably using 1.0a4, right?  1.0a5 was just released and one of the
bugs it fixes is to do with displaying the folder names - hopefully this
would fix that.

> When I try to run a training session (with "Deleted Items" set as 
> the folder that contains spam for training) I get this message:
[...]
>    File "C:\PROGRA~1\Python23\lib\imaplib.py", line 616, in select
>      raise self.readonly('%s is not writable' % mailbox)
> imaplib.readonly: Deleted Items is not writable
> 
> I get the same error regardless of which folder I try to use 
> for training. 

There was another message from someone with this same error just recently,
although I hadn't heard of it until then.  To me, it looks like you (with
the username/password in the config file) don't have permission to write to
that folder.  imapfilter needs to be able to write to all the folders that
it uses.  If you login (using the same username/password) to the account in
your normal mail client, are you able to make changes (add a message, for
example) to these folders?

=Tony Meyer




More information about the Spambayes mailing list