Re: [Dovecot] Inbox inside the mail location

2007-04-07 Thread Timo Sirainen

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.




PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] Inbox inside the mail location

2007-04-07 Thread guenther
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=[EMAIL PROTECTED];
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;il;i++){ i%8? c=1:
(c=*++x); c128  (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



[Dovecot] Inbox inside the mail location

2007-04-06 Thread guenther
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=[EMAIL PROTECTED];
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;il;i++){ i%8? c=1:
(c=*++x); c128  (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}