[exim-dev] [Bug 3083] Allow multiple uses of options definin…

Pàgina inicial
Delete this message
Reply to this message
Autor: Exim Bugzilla
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 3083] Allow multiple uses of options defining servers for database lookups
https://bugs.exim.org/show_bug.cgi?id=3083

--- Comment #1 from Jeremy Harris <jgh146exb@???> ---
The pure Exim (i.e. non-jinja2) way would probably be feature-macros and
.ifdef's

    mysql_servers = localhost::PORT_N/test/root/ : \
    .ifdef FUBAR
                localhost::PORT_D/test/fred/ : \
    .endif
                HOSTIPV4::PORT_D2/test/bill/ :


I assume that is not workable for you?


To support multiple uses, appending, of these options we'd want new syntax.
I'd rather avoid a global mode-switch... so either a per-line modeswitch
keyword

    append hide mysql_servers = localhost::PORT_D/test/fred/


or a different assignment operator (might fall foul of where the re-use check
is
currently coded though)

    mysql_servers += localhost::PORT_D/test/fred/


--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/