我真的不知道我的问题是什么。 我已经检查了几个指南,我确信我已经正确地设置了这个,包括configuration失败,重新启动服务,权限等操作系统是Ubuntu服务器。
使用testsaslauthd -u myemail@mydomain-p password
我只得到: 0: NO "authentication failed"
我的postfix.conf(注释删除):
smtpd_sasl_auth_enable = yes smtpd_sasl_type = cyrus smtpd_sasl_path = smtpd smtpd_sasl_local_domain = $mydomain smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no append_dot_mydomain = no readme_directory = no smtpd_use_tls=no smtpd_relay_restrictions = permit_mynetworks defer_unauth_destination myhostname = mydomain alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = $myhostname localhost.$mydomain localhost $mydomain relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 172.16.0.0/16 mailbox_command = mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all mydomain = mydomain home_mailbox = Maildir/
我的smtp.conf sasl
pwcheck_method:auxprop auxprop_plugin: sasldb mech_list: PLAIN LOGIN CRAM-MD5
我的saslauthdconfiguration:
START=yes DESC="SASL Authentication Daemon" NAME="saslauthd" MECHANISMS="sasldb" MECH_OPTIONS="" THREADS=5 OPTIONS="-c -m /var/run/saslauthd"
所有的权限是正确的,我已经重新启动服务,以确保。 mail.warn显示以下内容:
warning: unknown[myip]: SASL LOGIN authentication failed: authentication failure
我能做些什么来排除故障?