Postfix uses the symbol MYSQL_OPT_SSL_VERIFY_SERVER_CERT, which has been removed in MySQL 8.0
Bug watches keep track of this bug in other bug trackers.