why I may still get this error about lookups?

Jun 17 13:16:39 mail postfix/smtp[21356]: warning: CADF4758A82:
smtp_sasl_password_maps lookup error
Jun 17 13:16:39 mail postfix/smtp[21356]: CADF4758A82: local data
error while talking to relayq.dv.rt.ru[86.102.110.4]
Jun 17 13:16:39 mail postfix/smtp[21356]: warning: CADF4758A82:
smtp_sasl_password_maps lookup error
Jun 17 13:16:39 mail postfix/smtp[21356]: CADF4758A82:
to=<u...@dv.rt.ru>, relay=relayv.dv.rt.ru[212.122.5.150]:25,
delay=4552, delays=4551/0/1.5/0, dsn=4.3.0, status=deferred (local
data error while talking to relayv.dv.rt.ru[212.122.5.150])

I put in configuration:
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/mailpasswd
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
smtp_sasl_mechanism_filter = login
smtp_sender_dependent_authentication = yes

smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = cyrus

and create those files /etc/postfix/mailpasswd  and /etc/postfix/mailpasswd.db
touch /etc/postfix/mailpasswd
touch /etc/postfix/mailpasswd.db

On 6/16/15, Christian Kivalo <ml+postfix-us...@valo.at> wrote:
> 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
>

Reply via email to