Displaying 1 result from an estimated 1 matches for "my_db_host".
2017 Nov 21
0
macros in config support
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}
......