[Dovecot] v1.1.11 released

Udo Rader listudo at bestsolution.at
Sun Feb 8 15:13:55 EET 2009


Michal Soltys wrote:
> Timo Sirainen wrote:
>> http://dovecot.org/releases/1.1/dovecot-1.1.11.tar.gz
>> http://dovecot.org/releases/1.1/dovecot-1.1.11.tar.gz.sig
>>
>>     - If mail_chroot is set, don't fail at startup in dump-capability.
>>
> 
> Now whenever a system user (using passwd passdb/userdb) is trying to 
> read the mail, it tries to chroot without stripping initial chroot 
> specific path components, for example:
> 
> Feb  8 13:39:10 hargon dovecot: Fatal: chdir(/home/home/test) failed 
> with uid 2999: No such file or directory
> 
> with user 'test' having homedir under /home/test and mail_chroot=/home

but the entire point of chrooting is _changing_ the root directory.

So it seems quite obvious that you need to strip your homedirs yourself. 
How else could you otherwise define /home/home/test if you really wanted 
to do?

-- 
Udo Rader, CTO
http://www.bestsolution.at


More information about the dovecot mailing list