I'm trying to set up a mail server on a fresh Ubuntu 16.04 machine but I can't get it to work properly.
I'm using a Postfix/Courier setup with MySQL for authentication.
Receiving emails and reading them using any email client (using POP3 and IMAP) works as expected but when I'm trying to send something all I get is a authentication error and these errors appear in the log:
saslauthd[29975]: PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: undefined symbol: make_scrambled_password
saslauthd[29975]: PAM adding faulty module: pam_mysql.so
saslauthd[29975]: DEBUG: auth_pam: pam_authenticate failed: Module is unknown
saslauthd[29975]: do_auth : auth failure: [[email protected]] [service=smtp] [realm=testubuntu1604.com] [mech=pam] [reason=PAM auth error]
This used to work perfectly in Ubuntu 14.04.
Are there any changes in Ubuntu 16.04 regarding PAM authentication I should know about?