[Dovecot] Special treatment of ~/mail directory
Hi, would it be possible not to treat ~/mail specially and not to add mailboxes in the directory automatically? It would make migrating from IMAP-UW easier.
Vaclav Haisman
On Mar 7, 2006, at 11:14 PM, Václav Haisman wrote:
would it be possible not to treat ~/mail specially and not to add mailboxes in the directory automatically? It would make migrating from IMAP-UW easier.
Well, how about:
default_mail_env = mbox:%h:INBOX=/var/mail/%u
That should make it compatible with UW-IMAP.
Oh thats funny ! this is the #1 reason I switched from UW-IMAP TO Dovecot so I could put mail in ~/Mail WITHOUT having to set the Root Folder option on the client ... too many people (well everyone, even the ones I told how to do it right) were getting it wrong and would switch mail clients and forget to add ~/Mail or use ~/mail or ~\Mail or ~Mail\ or various other bastardazations and leave mailboxes all over ...
Thank you Timo for doing this one RIGHT ... (that is, let me configure it).
Oh the other thing I discovered, probably obvious to everyone else but not to me at first. Those INDEX files ... they really confused some mail programs like squirrelmail ... and my PPC IMAP client. so I put them somwhere else :INDEX=/var/spool/mailindex/%u very nice feature
would it be possible not to treat ~/mail specially and not to add mailboxes in the directory automatically? It would make migrating from IMAP-UW easier.
Well, how about:
default_mail_env = mbox:%h:INBOX=/var/mail/%u
That should make it compatible with UW-IMAP.
David A. Lee wrote:
Well, how about:
default_mail_env = mbox:%h:INBOX=/var/mail/%u
That should make it compatible with UW-IMAP.
I've also found that setting:
mail_full_filesystem_access = yes
Also simplifies the migration from UWIMAP, as oftentimes the .mailboxlist file (which can be simply copied to .subscriptions) contains full paths or abbreviated references to ${HOME} (i.e., /home/<user>/mail, ~/mail, etc.)
At least, it's eased the transitional pain for us.
Gregory
-- Gregory K. Ruiz-Ade Sr. Systems Administrator Computer Science and Engineering University of California, San Diego Office: EBU3b 1216 Phone: (858) 822-2625 E-mail: gkra@ucsd.edu
participants (4)
-
David A. Lee
-
Gregory K. Ruiz-Ade
-
Timo Sirainen
-
Václav Haisman