22 Aug
2012
22 Aug
'12
4:56 p.m.
On Mon, 2012-08-13 at 17:12 +0100, Chris Webb wrote:
Sharing an installed copy of dovecot between several users each running a daemon within their own account (or using the same binaries for a system daemon and a user daemon) is difficult because the compile-time directory PKG_STATEDIR (typically /var/lib/dovecot) is hard-coded as the location of things like the ssl-parameters.dat file and the replicator database.
Replace all these uses of PKG_STATEDIR with a state_dir setting which defaults to PKG_STATEDIR but can be overridden in dovecot.conf, in the same way base_dir can be used to override PKG_RUNDIR.
Committed to v2.2 with some changes: http://hg.dovecot.org/dovecot-2.2/rev/543852ebb327