Hello, I'm using dovecot with postfix configured for address extensions, so email to me+folder at mydomain.com <me%2Bfolder at mydomain.com>, automatically is handed off to dovecot deliver, which sees there is no folder called "folder" and autocreates it. This is brilliant, as it means I can give out subject orrientated email addresses, and the mail is automatically put in the right mailbox :) I love dovecot with postfix. However, my problem is my IMAP client (roundcube and HordeIMP) does not see the newly created folder. I have to manually subscribe it in the webmail client, or I have to add the folder to the "subscriptions" file in my home dir. So my question is, can the deliver command which auto-creates this folder, also add it to the subscriptions file? It seems like it just needs another switch on the command line. http://wiki.dovecot.org/LDA Is this currently possible, and if not, what code do I need to hack to make it work? Thanks Paul
On Fri, 2008-08-22 at 13:25 +0100, Paul Reilly wrote:> However, my problem is my IMAP client (roundcube and HordeIMP) does > not see the newly created folder. I have to manually subscribe it in > the webmail client, or I have to add the folder to the "subscriptions" > file in my home dir. So my question is, can the deliver command > which auto-creates this folder, also add it to the subscriptions file? > It seems like it just needs another switch on the command line. > http://wiki.dovecot.org/LDAI thought about making it do it by default, but then decided maybe it's not a good idea, especially for v1.1.x where it would change the existing behavior. So added -s parameter: http://hg.dovecot.org/dovecot-1.1/rev/1820f139660f -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080830/aca5f8f4/attachment-0002.bin>
That's brilliant Timo. Thanks! I'll apply and test the patch now. Paul On Sat, Aug 30, 2008 at 11:34 AM, Timo Sirainen <tss at iki.fi> wrote:> On Fri, 2008-08-22 at 13:25 +0100, Paul Reilly wrote: > > However, my problem is my IMAP client (roundcube and HordeIMP) does > > not see the newly created folder. I have to manually subscribe it in > > the webmail client, or I have to add the folder to the "subscriptions" > > file in my home dir. So my question is, can the deliver command > > which auto-creates this folder, also add it to the subscriptions file? > > It seems like it just needs another switch on the command line. > > http://wiki.dovecot.org/LDA > > I thought about making it do it by default, but then decided maybe it's > not a good idea, especially for v1.1.x where it would change the > existing behavior. So added -s parameter: > http://hg.dovecot.org/dovecot-1.1/rev/1820f139660f > >