imap proxy patch

Igor Sysoev is at rambler-co.ru
Tue Aug 19 10:11:21 MSD 2008


On Mon, Aug 18, 2008 at 08:52:39PM -0300, Fernando - Dfcom wrote:

> 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.
> 
> Example, 
> 
> 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
> 
> _xxx_ (prefix)
> _xxx_parent-folder_subfolder
> 
> 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?

This requires parsing all IMAP commands while proxying.
nginx does not support it.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list