Traceback (most recent call last): File "scan-whitelist.py", line 42, in msg=whitelist.get_message(key) File "/usr/lib/python2.5/mailbox.py", line 325, in get_message msg.set_subdir(subdir) AttributeError: Message instance has no attribute 'set_subdir'