macros in config support

2017-11-21 Thread Arkadiusz Miśkiewicz
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 somethin

Re: macros

2014-07-12 Thread Michael Orlitzky
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-se

macros

2014-07-11 Thread Arkadiusz Miśkiewicz
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