[exim] mysql_servers syntax for ipv6-only database server

Góra strony
Delete this message
Reply to this message
Autor: Niklas Schell
Data:  
Dla: exim mailing list
Temat: [exim] mysql_servers syntax for ipv6-only database server
Greetings!

I am trying to use an ipv6-only database server inside my exim4 config. But I'm unable to get the correct syntax for mysql_servers.
I already tried the following (assuming fd00::2 is the ipv6 address of the database server):

hide mysql_servers = fd00::2/database/user/password

which results in: Unknown server host 'fd00'.

":" is used a list separator, in order to define multiple servers (backup facility), so I thought, I would simply change the separator to a different one:

hide mysql_servers = <; fd00::2/database/user/password

The result stays the same.
Putting parenthesis or quotes around the ipv6 address doesn't work as well.


Creating an /etc/hosts entry as follows:

fd00::2 server

and using the following exim config:

hide mysql_servers = server/database/user/password

works. I'm able to connect to the database.
But i would like to explicitly define the ip address inside the config file.
Is this currently possible?

--
Thanks,
nudelchef


--
## 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/