SASL認証に失敗しました

SASL認証に失敗しました

ユーザーを作成しました

# adduser username

構成ファイル/etc/sysconfig/saslauthd:

# Directory in which to place saslauthd's listening socket, pid file, and so
# on.  This directory must already exist.
SOCKETDIR=/run/saslauthd

# Mechanism to use when checking passwords.  Run "saslauthd -v" to get a list
# of which mechanism your installation was compiled with the ablity to use.
MECH=pam

# Additional flags to pass to saslauthd on the command line.  See saslauthd(8)
# for the list of accepted flags.
FLAGS=-r

しかし、これはうまくいきません。

# testsaslauthd -u username -p password -s smtp
0: NO "authentication failed"

これは以下に示すエラーですjournalctl -u saslauthd

dic 08 20:34:22 xxxx.com saslauthd[11847]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
dic 08 20:34:22 xxxx.com saslauthd[11847]: do_auth         : auth failure: [user=username] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error]

ベストアンサー1

おすすめ記事