已经装好了服务器一段时间了,在extmail上可以收发邮件,用Foxmail可以收邮件,但是却无法发送邮件,Foxmail报错:
The server reply:
554 <
volen@163.com>:Relay access denied.
Continue?
这应该是smtp认证部分有问题吧?
登陆本地25端口,结果如下:
[root@mail ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.microsofa.com ESMTP
ehlo 163.com
250-mail.microsofa.com
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250 8BITMIME
比较了论坛上的一些帖子,发现我的输出少了
250-AUTH LOGIN PLAIN
我已经装了cyrus-sasl-plain
[root@mail ~]# rpm -qa|grep sasl
cyrus-sasl-ntlm-2.1.19-5.EL4
cyrus-sasl-devel-2.1.19-5.EL4
cyrus-sasl-md5-2.1.19-5.EL4
cyrus-sasl-plain-2.1.19-5.EL4
cyrus-sasl-sql-2.1.19-5.EL4
cyrus-sasl-2.1.19-5.EL4
cyrus-sasl-gssapi-2.1.19-5.EL4
sasl也已经在运行了:
[root@mail ~]# ps aux|grep sasl
root 8519 0.0 0.0 5728 828 ? Ss 14:24 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a ldap
root 8522 0.0 0.0 5728 828 ? S 14:24 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a ldap
root 8523 0.0 0.0 5728 828 ? S 14:24 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a ldap
root 8524 0.0 0.0 5728 828 ? S 14:24 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a ldap
root 8525 0.0 0.0 5728 828 ? S 14:24 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a ldap
root 20691 0.0 0.0 5656 572 pts/1 S+ 20:52 0:00 grep sasl
还有/usr/lib/sasl2/smtpd.conf的设置如下:
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
可是smtp认证好象实际上还是没起作用?请教大家怎样才可以排除这个故障呢?不胜感激