[Dovecot] Inbox inside the mail location

guenther guenther at rudersport.de
Sat Apr 7 03:11:43 EEST 2007


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; }}}



More information about the dovecot mailing list