[Dovecot] Dovecot chrooting

Timo Sirainen tss at iki.fi
Thu May 6 04:21:10 EEST 2004


On 5.5.2004, at 15:24, ?a??µp?? ?a?a???t?? wrote:

> hello all i am new to dovecot and i have a small problem. I use qmail 
> as a pop3 server and dovecot as imap. my rc script is as follows:
> -----snip-----
> #!/bin/sh
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start '|preline procmail' splogger qmai
> -----end-----
> thus i deliver mails through procmail so all mails are located to 
> /var/spool/mail.
> The problem exists when i tested chrooting and found it a very good 
> idea to jail all my users.. *but*
> still qmail delivers mails to the real /var/spool/mail and not to the 
> /home/chrootusers/var/spool/mail so that dovecot can pick them up. Is 
> there any special configuration in dovecot.conf in order to chroot the 
> /var/spool/mail to /home/chrootusers ?

It isn't possible to chroot to more than one directory. Pretty much the 
only possibility is to make qmail deliver the mail to ~/mail/inbox.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20040506/70877c57/PGP.pgp


More information about the dovecot mailing list