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.