[Dovecot] LMTP & home, chroot, mail userdb fields.

Lev Serebryakov lev at serebryakov.spb.ru
Thu Jan 20 21:13:19 EET 2011


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.

-- 
// Black Lion AKA Lev Serebryakov <lev at serebryakov.spb.ru>



More information about the dovecot mailing list