On 2015-06-16 13:48, basteon wrote:
yes warning exists:
Jun 16 16:56:58 mail postfix/smtp[14742]: warning:
hash:/etc/postfix/mailpasswd is unavailable. open database
/etc/postfix/mailpasswd.db: No such file or directory
Jun 16 16:56:58 mail postfix/smtp[14742]: warning:
hash:/etc/postfix/mailpasswd lookup error for "u...@domain.ru"
Jun 16 16:56:58 mail postfix/smtp[14742]: warning: 95559758A82:
smtp_sasl_password_maps lookup error
I keep users in sasl and in mysql database.
You have set smtp_sasl_password_maps = hash:/etc/postfix/mailpasswd in
your main.cf and postfix is unable to read the postmaped version of that
file. Does the file etc/postfix/mailpasswd.db exist?
http://www.postfix.org/postconf.5.html#smtp_sasl_password_maps
Either issue postmap /etc/postfix/mailpasswd to create this file, remove
that entry from your main.cf or fix your main.cf setting to point to the
file that holds the settings for the connection to your sql db.
This file specified with this parameter is not used to authenticate the
users that are using your server for mail submission, it's used by the
postfix smtp client to authenticate to remote servers when you have
sender-dependent authentication enabled.
http://www.postfix.org/SASL_README.html#client_sasl
Regards
- christian