I recently had some scary experience with the Inbox being stored in the default /var/mail dir, and I believe it would be a better idea to keep the Inbox next to any other mail in the users $HOME. mail_location = mbox:~/.mail:INBOX=~/.mail/INBOX This is what I used for a quick test, and actually would love to use in production soon. Based on the test, it just does exactly what I want. :) However, I'd like to confirm what I see is how it is expected to work. Since the Inbox with this layout is is part of the ~/.mail dir just like any other mbox file (or subdir), I am concerned with getting a "second" Inbox mail folder in the client. I did not, which is great. So, is this expected behavior, and the Inbox mbox file actually being the Inbox and only the Inbox? Will it always be excluded from the list of IMAP mail folders? Also... Thanks for this great IMAP server! I migrated many moons ago, beginning with some 0.9x version I don't exactly recall, and it just works. Migration has been a smooth experience too, and I haven't had any issue yet. guenther -- 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 7.4.2007, at 3.11, guenther wrote:> However, I'd like to confirm what I see is how it is expected to work. > Since the Inbox with this layout is is part of the ~/.mail dir just > like > any other mbox file (or subdir), I am concerned with getting a > "second" > Inbox mail folder in the client. I did not, which is great. > > So, is this expected behavior, and the Inbox mbox file actually being > the Inbox and only the Inbox? Will it always be excluded from the list > of IMAP mail folders?INBOX is actually always included in the list of IMAP folders. Dovecot anyway does all kinds of duplicate checking so it won't return the INBOX multiple times in any situation. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070407/81bb9573/attachment.bin>
On Sat, 2007-04-07 at 10:55 +0300, Timo Sirainen wrote:> On 7.4.2007, at 3.11, guenther wrote: > > > However, I'd like to confirm what I see is how it is expected to work. > > Since the Inbox with this layout is is part of the ~/.mail dir just like > > any other mbox file (or subdir), I am concerned with getting a "second" > > Inbox mail folder in the client. I did not, which is great. > > > > So, is this expected behavior, and the Inbox mbox file actually being > > the Inbox and only the Inbox? Will it always be excluded from the list > > of IMAP mail folders? > > INBOX is actually always included in the list of IMAP folders. > Dovecot anyway does all kinds of duplicate checking so it won't > return the INBOX multiple times in any situation.I see, thanks, Timo. :) Coincidentally I came across a similar example to what I have in mind (inbox being implicitly inside the mail_location by not specifying INBOX) by reading the docs and checking for some general tweaking and options. Btw, long time no see -- it's been a while since you have been hanging out in #evolution at GimpNET. Nice to meet you again. guenther -- 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; }}}