Re: MySQL connection with SSL

2024-05-16 Thread Martin Behrens via dovecot
Have you tried to set the ssl_* parameters as stated in https://doc.dovecot.org/settings/plugin/sql-mysql? Am 16.05.24, 12:53 schrieb "Gandalf Corvotempesta via dovecot" : Hi all is possible to tell dovecot to use a mysql connection with SSL ? My new remote mysql server only

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 16:35 Stuart Henderson via dovecot ha scritto: > Wrong bit of the manual. See the sample dovecot-sql.conf.ext or > https://doc.dovecot.org/configuration_manual/authentication/sql/#id10 Seems much easier with this... I'll try tomorrow

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 15:58 Aki Tuomi ha scritto: > I don't think dovecot will read your .my.cnf̣. > > See supported options at https://doc.dovecot.org/settings/plugin/sql-mysql/ Probably "client_flags" is what i need to use but: 1. i don't know the int value for CLIENT_SSL (and

Re: MySQL connection with SSL

2024-05-16 Thread Stuart Henderson via dovecot
On 2024-05-16, Christopher Wensink via dovecot wrote: > See here for the documentation for dovecot: > > https://doc.dovecot.org/admin_manual/ssl/ Wrong bit of the manual. See the sample dovecot-sql.conf.ext or https://doc.dovecot.org/configuration_manual/authentication/sql/#id10

Re: MySQL connection with SSL

2024-05-16 Thread Benny Pedersen via dovecot
Christopher Wensink via dovecot skrev den 2024-05-16 15:34: See here for the documentation for dovecot: https://doc.dovecot.org/admin_manual/ssl/ this is not covering database connections so above is for end-users connections, not dovecot connection to databases like mysql postgres, or

Re: MySQL connection with SSL

2024-05-16 Thread Aki Tuomi via dovecot
> On 16/05/2024 16:30 EEST Gandalf Corvotempesta via dovecot > wrote: > > > Il giorno gio 16 mag 2024 alle ore 15:12 Christopher Wensink via > dovecot ha scritto: > > Yes. > > > > https://dev.mysql.com/doc/refman/8.3/en/using-encrypted-connections.html > > This is for using ssl with native

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 15:34 Christopher Wensink ha scritto: > > See here for the documentation for dovecot: > > https://doc.dovecot.org/admin_manual/ssl/ This has nothing to do with mysql connection. What i've asked for is how to tell dovecot to connect to a mysql server by using

Re: MySQL connection with SSL

2024-05-16 Thread Christopher Wensink via dovecot
See here for the documentation for dovecot: https://doc.dovecot.org/admin_manual/ssl/ On 5/16/2024 8:30 AM, Gandalf Corvotempesta wrote: Il giorno gio 16 mag 2024 alle ore 15:12 Christopher Wensink via dovecot ha scritto: Yes.

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 15:12 Christopher Wensink via dovecot ha scritto: > Yes. > > https://dev.mysql.com/doc/refman/8.3/en/using-encrypted-connections.html This is for using ssl with native mysql client. Dovecot uses the native library or has a embedded mysql library ? because my

Re: MySQL connection with SSL

2024-05-16 Thread Christopher Wensink via dovecot
Gandalf, Yes. https://dev.mysql.com/doc/refman/8.3/en/using-encrypted-connections.html It's common practice.  From my experience most LAMP stacks are built and with a web front end that's handling the SSL traffic via apache to secure the connection between the client browser and the web

MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Hi all is possible to tell dovecot to use a mysql connection with SSL ? My new remote mysql server only allows ssl connections ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org