[CentOS] imap on Centos 4

Matt Hyclak hyclak at math.ohiou.edu
Fri May 6 19:30:22 UTC 2005


On Sat, May 07, 2005 at 07:18:23AM +1200, Tony Wicks enlightened us:
> Ok, I've got this new dovecot working thanks. The last bit is the users 
> kept their imap folders on the /home/username/* directories, after 
> copint one over and trying it a mail clints (thunderbird) cannot see the 
> directories, have I missed something in the dovecot.conf file ?
>

I've never actually used dovecot, but I'll give you my best guess:

> # Default MAIL environment to use when it's not set. By leaving this empty
> # dovecot tries to do some automatic detection as described in
> # doc/mail-storages.txt. There's a few special variables you can use:
> #
> #   %u - username
> #   %n - user part in user at domain, same as %u if there's no domain
> #   %d - domain part in user at domain, empty if user there's no domain
> #   %h - home directory
> #
> # You can also limit a width of string by giving the number of max. 
> characters
> # after the '%' character. For example %1u gives the first character of
> # username. Some examples:
> #
> #   default_mail_env = maildir:/var/mail/%1u/%u/Maildir
> #   default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
> #   default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
> #
> #default_mail_env =
> 

Something like:

default_mail_env = mbox:~/mail:INBOX=/var/mail/%u

That assumes that your MTA delivers mail to /var/mail/username, and that
after reading, messages are stored in the /home/username/mail

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263



More information about the CentOS mailing list