Hi, I use offlineimap to cache my remote IMAP mail for my multiple accounts (personal, work, etc) to several maildirs locally. At the moment in my mail client I'm using Dovecot to access one of the maildirs via IMAP, and then direct maildir access for the others. This is suboptimal however because my clients direct maildir support isn't great. Is there any way to let me access all three maildirs through dovecot? I'm guessing that I can do this with namespaces but I'm not sure. Any suggestions and pointers? Cheers, Ross -- Ross Burton mail: ross at burtonini.com jabber: ross at burtonini.com www: http://burtonini.com
Karsten Bräckelmann
2009-Jun-07 21:09 UTC
[Dovecot] Multiple mail locations for a single user
Heya, Ross :) On Sun, 2009-06-07 at 22:01 +0100, Ross Burton wrote:> Is there any way to let me access all three maildirs through dovecot? > I'm guessing that I can do this with namespaces but I'm not sure. Any > suggestions and pointers?Personally, I use different system users on the IMAP server with similar setups. Since in your case there is no local MTA involved, which is part of the picture here... The best thing about different accounts is, that (per-account) default sender addresses and options just work. -- char *t="\10pse\0r\0dtu\0. at ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
On Sun, 2009-06-07 at 22:01 +0100, Ross Burton wrote:> Is there any way to let me access all three maildirs through dovecot? > I'm guessing that I can do this with namespaces but I'm not sure. Any > suggestions and pointers?Either namespaces or use 3 different user accounts where each user has a different mail location returned from userdb. -------------- 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/20090615/3ca84a79/attachment-0002.bin>