macros

Arkadiusz Miśkiewicz arekm at maven.pl
Fri Jul 11 07:59:58 UTC 2014


Does dovecot support any form of macros? I would like to share configuration 
file between several servers. Configs are different only in tiny aspects.

Somethine like:

dovecot-server.conf (different on each server):

%define ID 55
%define SOMETHING SELECT FROM * WHERE something
%define MECHANISMS digest-md5

dovecot-main.conf (common, shared config)
!include dovecot-server.conf

user_query = ${SOMETHING} AND id=${ID}

auth_mechanisms = plain login ${MECHANISMS}

etc

-- 
Arkadiusz Miśkiewicz, arekm / maven.pl


More information about the dovecot mailing list