[Dovecot] [PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting

Timo Sirainen tss at iki.fi
Wed Aug 22 16:56:20 EEST 2012


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




More information about the dovecot mailing list