26 Mar
2008
26 Mar
'08
10:49 a.m.
Hi, Toms.
Toms Trankalis wrote:
I have a similar problem. When mail comes to user@domain.com (in lovercase) dovecot creates directory /vmail/domain.com/user, but if user types login like User@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-010a6461d783547686f70249e820fd6b83fd4...
%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