- 论坛徽章:
- 0
|
目标是建一个支持SMTP认证服务器.
我安装的是REDHAT AdvanceServer 3,系统自带的是sendmail8.12.10,我直接升级到sendmail 8.13.1后编译安装了cyrus-sasl-2.1.19,telnet localhost 25信息如下:
[root@freemail mail]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 freemail.161.com ESMTP Sendmail 8.12.11/8.12.11; Fri, 3 Sep 2004 09:29:22 +0800
ehlo sd
250-freemail.161.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH LOGIN PLAIN
250-DELIVERBY
250 HELP
250-AUTH LOGIN PLAIN出现应该是已经支持SMTP认证了.
我的ACCESS文件内容:
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
问题就出现了,我用客户端OUTLOOK发信,始终说我IP不在支持范围:
Sep 3 09:32:57 freemail sendmail[3805]: i831Wjej003805: ruleset=check_rcpt, arg1=<microsea@go.com>;, relay=[208.5.5.145], reject=550 5.7.1 <microsea@go.com>;... Relaying denied. IP name lookup failed [208.5.5.145]
Sep 3 09:33:00 freemail sendmail[3805]: i831Wjej003805: from=<microsea@161.com>;, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[208.5.5.145]
我只好在access文件中加入208.5.5 RELAY,但是这样一加,SMTP认证就失效了,只要是208.5.5网段的都可以发信.试来试去始终是access文件生效,走不到smtp认证这一步,应该是SMTP认证先于access文件吧?
大家有没碰到过这样的情况?如何解决?急盼!  |
|