[exim] Re: mysql_servers syntax for ipv6-only database serve…

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: [exim] Re: mysql_servers syntax for ipv6-only database server
On 11/11/2024 15:10, Niklas Schell via Exim-users wrote:
> i would like to explicitly define the ip address inside the config file.
> Is this currently possible?


Unfortunately not using only the Exim config file.

[ I suspect this is due to features having been added over time.
The parsing of a single host-spec is custom, and lacks any way
of escaping metacharacters.
This is a bug; feel free to raise one. The problem will be fixing it
in some way that is back-compatible.
]

Apart from an /etc/hosts entry (as you found) - you could use
a mysql config file entry
( https://dev.mysql.com/doc/refman/8.4/en/option-files.html )
along the lines of

    [exim]
    host = <host>


(which according to those docs accepts name, ipv4-addr or ipv6-addr)

--
Cheers,
Jeremy

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