[exim] Re: MySQL connection with SSL

Etusivu
Poista viesti
Vastaa
Lähettäjä: Gandalf Corvotempesta
Päiväys:  
Vastaanottaja: Jeremy Harris
Kopio: exim-users
Aihe: [exim] Re: MySQL connection with SSL
# strace exim -be 2>&1 | grep my.cnf
${lookup mysql{SELECT password AS password}}
access("/etc/my.cnf", R_OK)             = -1 ENOENT (No such file or directory)
access("/etc/mysql/my.cnf", R_OK)       = 0
openat(AT_FDCWD, "/etc/mysql/my.cnf", O_RDONLY) = 3
access("/etc/mysql/conf.d//my.cnf", R_OK) = -1 ENOENT (No such file or
directory)
access("/etc/mysql/mariadb.conf.d//my.cnf", R_OK) = -1 ENOENT (No such
file or directory)


Il giorno gio 16 mag 2024 alle ore 22:26 Gandalf Corvotempesta
<gandalf.corvotempesta@???> ha scritto:
>
> Il giorno gio 16 mag 2024 alle ore 22:21 Jeremy Harris
> <jgh@???> ha scritto:
> > If my.cnf is beaing read, but does not contain the actual conn spec
> > you want used, then there's something wrong with your "include" setup.
> >
> > That configuration can't get read by magic.
>
> The config is read, and it's the standard Debian include system used by Mariadb:
>
> # tail -n5 /etc/mysql/my.cnf
> socket = /run/mysqld/mysqld.sock
>
> # Import all .cnf files from configuration directory
> !includedir /etc/mysql/conf.d/
> !includedir /etc/mysql/mariadb.conf.d/
>
> # l /etc/mysql/mariadb.conf.d/
> total 52
> drwxr-xr-x 2 root root 4096 May 16 22:23 .
> drwxr-xr-x 4 root root 4096 May 16 22:10 ..
> -rw-r--r-- 1 root root 575 Jul 23 2023 50-client.cnf
> -rw-r--r-- 1 root root 231 Jul 28 2023 50-mysql-clients.cnf
> -rw-r--r-- 1 root root 927 Jul 28 2023 50-mysqld_safe.cnf
> -rw-r--r-- 1 root root 3769 Jul 28 2023 50-server.cnf
> -rw-r--r-- 1 root root 570 Jul 28 2023 60-galera.cnf
> -rw-r--r-- 1 root root 28 May 16 16:33 99-exim.cnf
> -rw-r--r-- 1 root root 76 Jun 5 2023 provider_bzip2.cnf
> -rw-r--r-- 1 root root 72 Jun 5 2023 provider_lz4.cnf
> -rw-r--r-- 1 root root 74 Jun 5 2023 provider_lzma.cnf
> -rw-r--r-- 1 root root 72 Jun 5 2023 provider_lzo.cnf
> -rw-r--r-- 1 root root 78 Jun 5 2023 provider_snappy.cnf
>
> # cat /etc/mysql/mariadb.conf.d/99-exim.cnf
> [exim]
>    ssl-mode=REQUIRED


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