IMAP to Maildir
Posted: Wed May 13, 2009 6:12 pm
I'm writing a PHP script that will download mail from an IMAP server and I need to store that mail in the Maildir format. I've already written code to connect to the server and list the mailboxes, but I need to know how to download the messages and save them in Maildir format so that something like Dovecot can read them.
Getmail/Fetchmail won't work in this case because I won't know ahead of time what mailboxes to get the mail from.
Thanks in advance for the help
Getmail/Fetchmail won't work in this case because I won't know ahead of time what mailboxes to get the mail from.
Thanks in advance for the help