54ysz 发表于 2007-1-1 17:48:50

sendmail启动后出现的问题,希望哪位朋友指教

网络内部服务器的ip为192.168.0.249,安装的RHEL AS 3 U6,同时配置了named、vsftpd和sendmail,DNS和vsftpd都正常,就是sendmail配置完,只能在服务器上可以收发邮件,可是在客户端用outlook 就不行

提示如下:

    您的服务器意外终止了连接。其可能原因包括服务器出错、网络出错或长时间处于非活动状态。 帐户: '192.168.0.249', 服务器: '192.168.0.249', 协议: POP3, 端口: 110, 安全(SSL): 否, 错误号: 0x800CCC0F


# host -t MX yjs.com
yjs.com mail is handled by 10 mail.yjs.com.

# host mail.yjs.com
mail.yjs.com has address 192.168.0.249

可以在服务上收发邮件:

# telnet mail.yjs.com 25
Trying 192.168.0.249...
telnet: Unable to connect to remote host: Connection refused
#

# netstat -tnl |grep :25
tcp      0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN

# telnet localhost 25
Trying 127.0.0.1...
Connected to server (127.0.0.1).
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.12.11/8.12.11; Mon, 1 Jan 2007 14:15:16 +0800
(这里的 localhost.localdomain 应该是内部域名mai.yjs.com才对吧?)
   
mail from:[email protected]
250 2.1.0 [email protected]... Sender ok
rcpt to:[email protected]
250 2.1.5 [email protected]... Recipient ok
data
354 Enter mail, end with "." on a line by itself
hello.
quit

# tail /var/log/maillog
Jan1 13:56:28 server ipop3d: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
Jan1 13:56:38 server ipop3d: Login user=admin host= nmsgs=1/1
Jan1 13:56:39 server ipop3d: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
Jan1 13:56:39 server ipop3d: Logout user=admin host= nmsgs=0 ndele=1
Jan1 14:14:45 server sendmail: l016EUl0004115: Authentication-Warning: localhost.localdomain: server didn't use HELO protocol
Jan1 14:14:55 server sendmail: l016EUl0004115: Syntax error in parameters scanning "to;[email protected]"
Jan1 14:15:14 server sendmail: l016EUl0004115: [email protected], size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=server
Jan1 14:15:35 server sendmail: l016FGHM004117: Authentication-Warning: localhost.localdomain: server didn't use HELO protocol
Jan1 14:16:47 server sendmail: l016FGHM004117: [email protected], size=25, class=0, nrcpts=1, msgid=<[email protected]>, proto=SMTP, daemon=MTA, relay=server
Jan1 14:16:47 server sendmail: l016FGHM004117: [email protected], [email protected] (530/534), delay=00:01:00, xdelay=00:00:00, mailer=local, pri=30422, dsn=2.0.0, stat=Sent
#


用户查看自己收到的邮件:
# su - redhat
$ mail
Mail version 8.1 6/6/93.Type ? for help.
"/var/spool/mail/redhat": 1 message 1 new
>N1 [email protected]         Mon Jan1 14:1619/482
&
Message 1:
From [email protected] Jan1 14:16:47 2007
Date: Mon, 1 Jan 2007 14:15:16 +0800
From: [email protected]
X-Authentication-Warning: localhost.localdomain: server didn't use HELO protocol

hello.

&

named和sendmail都已经启动了:
# ps aux |grep named
named   37490.00.5 36292 3048 ?      S    13:50   0:00 /usr/sbin/named -u named
root      42560.00.14936680 pts/0    S    14:47   0:00 grep named
# ps aux |grep sendmail
root      38180.00.46104 2496 ?      S    13:50   0:00 sendmail: accepting connections
smmsp   38270.00.45992 2196 ?      S    13:50   0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root      42580.00.14932680 pts/0    S    14:47   0:00 grep sendmail


这个问题困扰的实在是搞不明白了,请朋友们帮帮我,十分感谢。

小鸟学飞 发表于 2007-1-7 18:17:18

想在客户端用邮件收发工具收发邮件是需要服务器安装pop3协议的,看看你的Sendmail服务器安装了POP3邮局协议没啊?最好能把IMAP4协议也一起装好,他能够很好的和微软的邮件客户端提供支持,建议你安装后在检查!!
页: [1]
查看完整版本: sendmail启动后出现的问题,希望哪位朋友指教