I try to get mail server to work on PostgreSQL but I get a error below:
Apr 16 20:48:57 alm authdaemond: PGSQL_CONNECTION could not be established
Apr 16 20:48:57 alm authdaemond: FATAL: database "mail_admin" does not exist.
I followed this manual and try somehow to get it work in PostgreSQL instead MySQL: https://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-14.04-lts
Yes I have database mail and it's user mail_admin and this user haves a access to mail database.
Here is more error logs.
Apr 16 20:58:35 alm imapd: LOGIN FAILED, user=xxx.xxx@yourdomain.com, ip=[::ffff:91.154.218.57]
Apr 16 20:58:36 alm postfix/smtpd[21430]: warning: SASL authentication failure: Password verification failed
Apr 16 20:58:36 alm postfix/smtpd[21430]: warning: unknown[78.128.113.99]: SASL PLAIN authentication failed: authentication failure
Apr 16 20:58:37 alm postfix/smtpd[21430]: lost connection after AUTH from unknown[78.128.113.99]
Apr 16 20:58:37 alm postfix/smtpd[21430]: disconnect from unknown[78.128.113.99] ehlo=1 auth=0/1 commands=1/2