[Dovecot] Howto create maildir in lower case while user login viaimap/pop3?
Zhang Huangbin
zhbmaillistonly at gmail.com
Wed Mar 26 10:49:58 EET 2008
Hi, Toms.
Toms Trankalis wrote:
> I have a similar problem. When mail comes to user at domain.com (in
> lovercase) dovecot creates directory /vmail/domain.com/user, but if
> user types login like User at domain.com, then dovecot creates dir
> /vmail/domain.com/User and I wonder why dovecot accepts the login name
> at all?
>
> In my sutiation dovecot is auth against mysql database.
>
I fixed this situation, and sorry for the noise :(
Reference:
http://wiki.dovecot.org/Variables#head-010a6461d783547686f70249e820fd6b83fd453e
%L - lowercase
So i set mail_location to:
mail_location = maildir:/%Lh/%Ld/%Ln/:INDEX=/%Lh/%Ld/%Ln/
It works.
--
Best Regards.
Zhang Huangbin
- OpenBSD 4.2 -release, i386.
- RHEL 5.1 Client
More information about the dovecot
mailing list