I was thinking about renaming default_mail_env to something that is more understandable. I'll keep it working for backwards compatibility anyway. How about:
# Location for users' mailboxes. This is the same as the old default_mail_env # setting. The default is empty, which means that Dovecot tries to find the # mailboxes automatically. This won't work if the user doesn't have any mail # yet, so you should explicitly tell Dovecot the full location. # # If you're using mbox, giving a path to INBOX file (eg. /var/mail/%u) isn't # enough. You'll also need to tell Dovecot where the other mailboxes are and # where Dovecot can place its index files. # # There are a few special variables you can use, eg.: # # %u - username # %n - user part in user@domain, same as %u if there's no domain # %d - domain part in user@domain, empty if there's no domain # %h - home directory # # See doc/variables.txt for full list. Some examples: # # mail_location = maildir:/var/mail/%1u/%u/Maildir # mail_location = mbox:~/mail/:INBOX=/var/mail/%u # mail_location = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n # # http://wiki.dovecot.org/MailLocation # #mail_location =
* On 13/10/06 16:00 +0300, Timo Sirainen wrote: | I was thinking about renaming default_mail_env to something that is more | understandable. I'll keep it working for backwards compatibility anyway. | How about: | | # Location for users' mailboxes. This is the same as the old default_mail_env | # setting. The default is empty, which means that Dovecot tries to find the | # mailboxes automatically. This won't work if the user doesn't have any mail | # yet, so you should explicitly tell Dovecot the full location. | # | # If you're using mbox, giving a path to INBOX file (eg. /var/mail/%u) isn't | # enough. You'll also need to tell Dovecot where the other mailboxes are and | # where Dovecot can place its index files. | # | # There are a few special variables you can use, eg.: | # | # %u - username | # %n - user part in user@domain, same as %u if there's no domain | # %d - domain part in user@domain, empty if there's no domain | # %h - home directory | # | # See doc/variables.txt for full list. Some examples: | # | # mail_location = maildir:/var/mail/%1u/%u/Maildir | # mail_location = mbox:~/mail/:INBOX=/var/mail/%u | # mail_location = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n | # | # http://wiki.dovecot.org/MailLocation | # | #mail_location = How about either or the following: mailbox_location = mailroot = -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash@wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ To get something done, a committee should consist of no more than three men, two of them absent.
On Fri, 2006-10-13 at 16:15 +0300, Odhiambo WASHINGTON wrote:
How about either or the following:
mailbox_location = mailroot =
Well, first of all I don't even understand how exactly these should be used ;) I guess mailbox_location would be the INBOX path? But since maildir has no INBOX, it's not a really good idea.
In any case I can't yet split it into multiple settings. Way too much work and I'd have to change also namespace's location to work in similar way etc.. For Dovecot 2.0 I'll do that, but for now it's going to be just a simple rename.
participants (2)
-
Odhiambo WASHINGTON
-
Timo Sirainen