Tony> Hopefully this'll be fixed in Python, but that does SpamBayes no Tony> good, because we support Python 2.2, and we can't get the fix Tony> there. You can always copy and fix imaplib.py, then prefer the fixed version over the version that comes with Python. That would probably provide a good patch for the SF bug report as well. Skip