- 论坛徽章:
- 0
|
我按照marion 老大这个配置来做的,
但我的最后发现不通过身份验证也能发邮件
随便输一个帐号,以这个邮件服务器来发送,也能发邮件
有人一样的情况吗?
邮件日志里
SASL authentication failure: cannot connect to Courier authdaemond: No such file or directory
[root@mail ~]# more /etc/authdaemonrc | grep -v "#"
authmodulelist="authmysql"
authmodulelistorig="authmysql"
daemons=10
authdaemonvar=/usr/local/courier-authlib/var/spool/authdaemon
[root@mail ~]# ls -la /usr/local/courier-authlib/var/spool/authdaemon
total 12
drwxr-xr-x 2 daemon daemon 4096 Apr 23 16:06 .
drwxr-xr-x 3 root root 4096 Apr 21 17:34 ..
-rw-r--r-- 1 root root 5 Apr 23 16:06 pid
-rw------- 1 root root 0 Apr 21 17:40 pid.lock
srwxrwxrwx 1 root root 0 Apr 23 16:06 socket
main.cf中
##############SASL####################
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,
permit
smtpd_sender_login_maps =
mysql:/etc/postfix/mysql_virtual_sender_maps.cf,
mysql:/etc/postfix/mysql_virtual_alias_maps.cf
smtpd_reject_unlisted_sender = yes
smtpd_sender_restrictions =
reject_sender_login_mismatch,
reject_authenticated_sender_login_mismatch,
reject_unauthenticated_sender_login_mismatch
[root@mail ~]# more /usr/local/sasl2/lib/sasl2/smtpd.conf
pwcheck_method: authdaemond
log_level: 3
mech_listLAIN LOGIN
authdaemond_path:/usr/local/courier-authlib/var/spool/authdaemon/socket
求助,那里的错误呢
[ 本帖最后由 bladezxf 于 2008-4-23 16:31 编辑 ] |
|