[Dovecot] Variable %h not recognized in userdb_mail (passwd-file)
Michal Soltys
nozo at ziu.info
Wed Mar 14 16:31:42 EET 2007
Timo Sirainen wrote:
> On Wed, 2007-03-14 at 14:36 +0100, Michal Soltys wrote:
>> As in subject, if you for instance create a simple passwd-file with:
>>
>> test at domain.tld:{plain}pass:20000:10::/home/regular/.test::userdb_mail=maildir:%h/maildir
>>
>> Dovecot (rc23 & 27) will expand %h to empty string, and try to make a
>> directory under /
>
> Looks like the expansion was done too early. Fixed:
> http://dovecot.org/list/dovecot-cvs/2007-March/008128.html
Now dovecot both expands %h and treats it literally, creating following
directory: /home/regular/.test/%h/maildir
Assuming passwd-file as previously.
More information about the dovecot
mailing list