This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.

Rootless Installation

It's possible to make Dovecot run under a single system user without requiring root privileges at any point. This shouldn't be thought of as a security feature, but instead simply as a way for non-admins to run Dovecot in their favorite mail server. It's also useful if you just wish to test Dovecot without messing up your system.

If you think of this as a good way to achieve security, ask yourself which is worse:

a)

b)

Installation

Install somewhere under home directory:

./configure --prefix=$HOME/dovecot
make
make install

Dovecot is then started by running ~/dovecot/sbin/dovecot. The example configuration file exists in ~/dovecot/share/doc/dovecot/example-config/ and needs to be copied to ~/dovecot/etc/dovecot/.

Configuration

The important settings to change for rootless installation are:

HowTo/Rootless (last edited 2012-01-24 15:42:50 by cpc2-nrwh9-2-0-cust195)