imap proxy patch
Fernando - Dfcom
fernando at dfcom.com.br
Tue Aug 19 03:52:39 MSD 2008
My company has a mail storage system (proprietary). It receives email via lmtp and customers can get email from imap and pop3. This system does not support imap subfolders. For particular reason we need to put a imap proxy in front of this system and I choose nginx to do that. But now we have a problem, our customers need to have subfolder features.
So I thought about a solution in imap proxy source code, intercept the commands and get subfolder creation/access and change data. All imap access (webmail/outlook) will use this proxy.
If one create a parent folder, let it do this, (ex. Sent)
If one request to create a sub-folder (Sent/2007) we change the request and create _xxx_Sent_2007 (as parent folder), When client (through proxy) will list or access the folder Sent, we intercept the request, read the original folder name and change the response to subfolder style.
In other words, our sub-folder protocol would be
It's a little bit comlex, but the big question is, what do you think about it.
Do you know any solution that implement any variation of this idea?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx