https://bugs.exim.org/show_bug.cgi?id=3083

--- Comment #5 from Jeremy Harris <[email protected]> ---
I've not checked specifically for mysql_servers, but a standard Exim list
ignores
a trailing list-separator; there is no "last" list element implied by one.

So long as you leave an empty line afterward, a trailing backslash will have no
effect;
it does no imply there will be further information on the next line.


> It doesn't define a type of datasource though so it requires a prepending 
> block of the same type.

    mysql_servers = \
    .ifdef FOO
                localhost::PORT_D/test/fred/ : \
    .endif
    .ifdef BAR
                HOSTIPV4::PORT_D2/test/bill/ :
    .endif

Better?  These elements are only text, while the ifdefs get resolved. They do
not
have types or semantics until the entire resulting list is evaluated when (and
if) the
"mysql_servers" global option is needed for a lookup.

-- 
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):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to