- 论坛徽章:
- 0
|
solaris 9 把 sendmail 作为客户端发信不成功
# /usr/lib/sendmail -v zengdb@163.com
test
.
zengdb@163.com... Connecting to [127.0.0.1] via relay...
zengdb@163.com... Deferred: Connection refused by [127.0.0.1]
启动sendmail 服务后,能够发送成功。
/etc/init.d/sendmail start
# /usr/lib/sendmail -v zengdb@163.com
hayeah
.
zengdb@163.com... Connecting to [127.0.0.1] via relay...
220 bj114.163.com ESMTP Sendmail 8.12.8+Sun/8.12.8; Tue, 11 Nov 2003 10:04:23 +0800 (CST)
>;>;>; EHLO bj114.163.com
250-bj114.163.com Hello localhost [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-DELIVERBY
250 HELP
>;>;>; MAIL From:<coremail@bj114.163.com>; SIZE=7
250 2.1.0 <coremail@bj114.163.com>;... Sender ok
>;>;>; RCPT To:<zengdb@163.com>;
>;>;>; DATA
250 2.1.5 <zengdb@163.com>;... Recipient ok
354 Enter mail, end with "." on a line by itself
>;>;>; .
250 2.0.0 hAB24Nqq016725 Message accepted for delivery
zengdb@163.com... Sent (hAB24Nqq016725 Message accepted for delivery)
Closing connection to [127.0.0.1]
>;>;>; QUIT
221 2.0.0 bj114.163.com closing connection
solaris 7, solaris 8 没有这个现象,solaris9肯定是relay了localhost,造成这种后果。
在不启动sendmail 服务器端程序的情况下,改什么地方可以让它直接发信,而不是在本机转一圈?
我试了试,改access ,relay-domains 都没有效果。 |
|