13 Jul
2014
13 Jul
'14
6:18 a.m.
On 07/11/2014 03:59 AM, Arkadiusz MiĆkiewicz wrote:
Does dovecot support any form of macros? I would like to share configuration file between several servers. Configs are different only in tiny aspects.
As a last resort, you can use make
to accomplish this.
dovecot-server.conf.sh
id=55 something="SELECT FROM * WHERE something" mechanisms="digest-md5"
dovecot-main.conf.sh
source ~/dovecot-server.conf.sh
cat < dovecot-main.conf: dovecot*.conf.sh
./dovecot-main.conf.sh > $@makefile