[Dovecot] mail_location ?

Scott Silva ssilva at sgvwater.com
Fri Aug 17 02:51:03 EEST 2007


Yu Chen spake the following on 8/16/2007 10:41 AM:
> Hi, my mail server is running fine. But not sure if I am doing right
> with "mail_location" in dovecot.conf
> 
> I am using dovecot-1.0.0-8_56 on RHEL AS 4 Update 5.
> Our users have a "mail" directory under their home directory(~/mail). I
> thought the "mail_location" line should be:
> 
> mail_location =
> mbox:%h/mail:INBOX=/var/mail/%u:INDEX=/var/mail_indexes/%d/%n
> 
> but if I do this, all the mailboxes in the "mail" directory won't show,
> and a new "mail" folder will be created under "~/mail/", so it is
> "~/mail/mail" now.
> 
> if I change it to this:
> 
> mail_location = mbox:%h:INBOX=/var/mail/%u:INDEX=/var/mail_indexes/%d/%n
> 
> Everything is fine, is this the supposed behavior?
> 
Do your clients have a mail directory configured in them like ~/mail? It was a
common practice on older systems using other imap servers.

-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!



More information about the dovecot mailing list