johnw
2011-Jun-04 13:48 UTC
[Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot
i want to chroot lmtp with sieve, but have some problem, look like lmtp can not load sieve's lib or something. the error message like this: dovecot: lmtp(12799): Fatal: opendir(/usr/local/lib/dovecot) failed: No such file or directory all is work fine, when not config lmtp chroot. can i config lmtp load sieve before chroot? please help, and thank you.
Timo Sirainen
2011-Jun-06 14:46 UTC
[Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot
On Sat, 2011-06-04 at 21:48 +0800, johnw wrote:> i want to chroot lmtp with sieve, but have some problem, look like lmtp > can not load sieve's lib or something. > the error message like this: > > dovecot: lmtp(12799): Fatal: opendir(/usr/local/lib/dovecot) failed: No > such file or directory > > all is work fine, when not config lmtp chroot. > can i config lmtp load sieve before chroot?Not currently. Or you could put the sieve plugin inside the chroot (and maybe change protocol lmtp { mail_plugins_dir }).