[Dovecot] Chrooting dovecot.

BSD Mail bsdmail at gmail.com
Mon Mar 14 09:41:04 EET 2005


Greetings, I have installed Dovecot under FreeBSD 5_3 It is pretty
impressive. I got SSL working with no problem for both imap and pop3.
Besides that I do still want to chroot Dovecot. I noticed that there
are some options
in the dovecot.conf that are intended for this. Unfortunately online
resources on how to do
that can't be found on google. Although I'm running the server as user
dovecot. I still do have this:

dovecot  pop3-login 491   1  tcp4   10.0.1.4:995          *:*
dovecot  pop3-login 490   1  tcp4   10.0.1.4:995          *:*
dovecot  pop3-login 489   1  tcp4   10.0.1.4:995          *:*
dovecot  imap-login 488   1  tcp4   10.0.1.4:993          *:*
dovecot  imap-login 487   1  tcp4   10.0.1.4:993          *:*
dovecot  imap-login 486   1  tcp4   10.0.1.4:993          *:*
root     dovecot    481   5  tcp4   10.0.1.4:993          *:*
root     dovecot    481   6  tcp4   10.0.1.4:995          *:*

Fine for the first six lines it's doing what it's doing. But the last
two lines are running as root. That is why I want to chroot the
server. I would like if anyone can point me to some howto or notes on
how to do so. If there is none I will have to configure a jail just
for this purpose.

Thanks in advance.

-- 
Regards,


More information about the dovecot mailing list