<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3395" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi list,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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. </FONT><FONT face=Arial
size=2>For particular reason we need to put a imap proxy in front of this system
and I choose nginx to do that. </FONT><FONT face=Arial size=2>But now we have a
problem, our customers need to have subfolder features. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Example, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If one create a parent folder, let it do this, (ex.
Sent)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In other words, our sub-folder protocol would
be</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>_xxx_ (prefix)</FONT></DIV>
<DIV><FONT face=Arial size=2>_xxx_parent-folder_subfolder</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It's a little bit comlex, but the big question is,
what do you think about it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Do you know any solution that implement any
variation of this idea?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Fernando</FONT></DIV></BODY></HTML>