I just finished programming a webmail system using dovecot (imap).
As far as managing the sending and receiving of email, pop3 seems to take care of things.
However, the retrieval of email using imap seems slow compared to how fast mysql can store and retrieve data.
Also, I created a 'sent' folder, and use imap_append() to store sent messages. However, when there are multiple recipients, it mangles the recipients addresses, so I have to store the message multiple times for each address. I hate having to do it like that. Anyone know how to store multiple recipients for one message with dovecot?
Is there anything out there that uses smtp to send and receive mail, but uses a mysql database for storage and retrieval?
And one more thing. I want to append a link to every outgoing message that is a link back to the webmail system. When clicked on, this will put the viewer straight into a 'reply' mode in the webmail. However, I can't get the unique id to create the link as the unique id gets generated when the email is sent. And, of course, once it's sent, I can't add any link to it. I see facebook has a link back to the reply appended to their outbound messages. Wondering how it might be done.
Thanks for any thoughts.
[edited by: tedster at 9:47 pm (utc) on Oct. 31, 2008]