[Spambayes] SpamBayes IMAP Training error

Lee Hoffner lhoffner at directedmotion.com
Fri Apr 30 13:28:16 EDT 2004


I'm trying to configure SpamBayes for the first time on my IMAP server. When I 
click on "Select Training Folders", I get this:


500 Server error

Traceback (most recent call last):

  File "/usr/lib/python2.3/site-packages/spambayes/Dibbler.py", line 461, in 
found_terminator
    getattr(plugin, name)(**params)

  File "/usr/lib/python2.3/site-packages/spambayes/ImapUI.py", line 222, in 
onTrainingfolders
    self._login_to_imap()

  File "/usr/lib/python2.3/site-packages/spambayes/ImapUI.py", line 217, in 
_login_to_imap
    self.imap.login(username, self.imap_pwd)

  File "/usr/bin/sb_imapfilter.py", line 212, in login
    BaseIMAP.login(self, username, pwd)  # superclass login

  File "/usr/lib/python2.3/imaplib.py", line 471, in login
    typ, dat = self._simple_command('LOGIN', user, self._quote(password))

  File "/usr/lib/python2.3/imaplib.py", line 992, in _quote
    arg = arg.replace('\\', '\\\\')

AttributeError: 'NoneType' object has no attribute 'replace'

Can anyone translate? Thanks!




More information about the Spambayes mailing list