macros in config support
Arkadiusz Miśkiewicz
arekm at maven.pl
Tue Nov 21 11:23:22 EET 2017
Hi.
Is there any support for macros in dovecot configuration - user defined
macros?
For example:
server-config.conf:
%define my_db_name "aaa"
%define my_db_host "db.example.com"
%define my_db_pass "sdfdsfsdfsdf2313"
%define server_id 10
%define something blabla
...
dovecot-sql.conf:
!include server-config.conf
connect = host=%{my_db_host} dbname=%{my_db_name} ....
iterate_query = SELECT ... WHERE os.id_pop3_server=%{server_id}
...
Basically to be able to use own macros anywhere in config files.
--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
More information about the dovecot
mailing list