사용자를 생성했습니다
# 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]