btw. you would also like to subscribe users to the mailbox (very easy if the subscribed db is in flat format, messy if it is not)
not really messy in python:
import imaplib mailboxes=('mailbox1','mailbox2','mailbox3') server=imaplib.IMAP4() server.login(user,password) for mailbox in mailboxes: server.subscribe('INBOX.'+mb) server.logout
Bye -- Que les importa a las viudas, a los huérfanos, a los desvalidos si las masacres se hacen en nombre del totalitarismo o en el sagrado nombre de la libertad y la democracia. Mahatma Gandhi (1869 - 1948)
pgp00000.pgp
Description: PGP signature