[Dovecot] LMTP & home, chroot, mail userdb fields.
Per Jessen
per at computer.org
Thu Jan 20 21:29:57 EET 2011
Lev Serebryakov wrote:
> Hello, Per.
> You wrote 20 января 2011 г., 21:28:11:
>
>>>>> chroot: "/usr/home/hosted/v-mail/%d/%n"
>>>>> home: "/"
>>>>> mail: "maildir:."
>>> Then IMAP4/POP3 processes will do chroot to
>>> "/usr/home/hosted/v-mail/domain/user" and will try to find
>>> "maildir:/usr/home/hosted/v-mail/domain/user" RELATIVE to chroot.
>>> Mail will be delivered, but can not be acessed.
>> Okay, I see how you've set it up now. Any chance that lmtp is having
>> problems with chroot()ing ?
>
> I don't think, that lmtp needs "real" chroot at all (it can degrade
> performance and spoil whole idea of long-living delivery process),
> but, IMHO, lmtp should calculate full path from all three components
> -- chroot + home + maildir. And it seems, that lmtp doesn't use chroot
> variable at all.
Yes, that is what it looks like.
/Per Jessen, Zürich
More information about the dovecot
mailing list