rachalmers:
> I'm now trying 3.3.2 and running into a mess of compile errors again.
> 
> Firstly -
> Had to add this patch; referenced elsewhere, but known about.
>      src/global/dict_mysql.c (postfix 3.2.0-5, 3.3.0 and current) to allow
> build against MySQL 8.x
>    
>  Then had to add this define to dict_mysql.c
> 
> #define MYSQL_OPT_SSL_VERIFY_SERVER_CERT 0
> 
> Because the compiler was complaining that it wasn't declared. Compiles fine

This is what we have in Postfix 3.4 development release:

/* MySQL 8.x API change */

#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50023
#define DICT_MYSQL_SSL_VERIFY_SERVER_CERT MYSQL_OPT_SSL_VERIFY_SERVER_CERT
#elif MYSQL_VERSION_ID >= 80000
#define DICT_MYSQL_SSL_VERIFY_SERVER_CERT MYSQL_OPT_SSL_MODE
#endif

        Wietse

Reply via email to