[Dovecot] Installation of Dovecot

Steven F Siirila sfs at tc.umn.edu
Tue Oct 17 21:55:43 UTC 2006


When I configure Dovecot to conform to our directory hierarchy, it insists
on adding 'dovecot/' to the prefixes I specify.  Is there any way to
inhibit this?

My configure command is:

./configure --prefix=/opt/dovecot --sysconfdir=/etc/opt/dovecot \
	    --libexecdir=/opt/dovecot/libexec --localstatedir=/var/opt/dovecot \	    --without-sql-drivers --with-ssl=openssl \
	    --with-ssldir=/etc/opt/dovecot

My problem is with the resulting directories:

/opt/dovecot/libexec/dovecot	is used instead of	/opt/dovecot/libexec
/var/opt/dovecot/lib/dovecot	is used instead of	/var/opt/dovecot/lib
/var/opt/dovecot/run/dovecot	is used instead of	/var/opt/dovecot/run

It seems that Dovecot assumes that libexecdir and localstatedir refer to
non-Dovecot-specific directories, and adds 'dovecot/' to the path.
Is there any way to avoid this?

In our environment )we use:
	/opt/XXX	Optional software XXX
	/etc/opt/XXX	Configuration for optional software XXX
	/var/opt/XXX	Variable data for optional software XXX
(Which makes for easier upgrades)

-- 

Steven F. Siirila			Office: Lind Hall, Room 130B
Internet Services			E-mail: sfs at umn.edu
Office of Information Technology	Voice: (612) 626-0244
University of Minnesota			Fax: (612) 626-7593


More information about the dovecot mailing list