歡迎您光臨本站 註冊首頁

sendmail 接收郵件報錯 總提示0x800ccc0f 錯誤??????

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

sendmail 接收郵件報錯 總提示0x800ccc0f 錯誤??????

本人最近在測試郵件伺服器功能 ,用RHEL5搭建了dns+sendmail+dovecot . 然後用XP 客戶端進行測試,但是OE總提示以下錯誤:

您的伺服器意別終止了聯接,其可能原因包括伺服器出錯、網路出錯或長時間處於非活動狀態。帳戶:『mail.test.com',伺服器:『mail.test.com',協議:pop3,埠:110, °安全(SSL): 否, 錯誤號: 0x800CCC0F

請問 如何解決這個問題???????????????????? 太糾結了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

以下是配置信息:

# cat test.com.zone
$TTL    86400
@               IN SOA  test.com. root (
                                        42              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
                IN NS           test.com.
@               IN MX 10        mail.test.com.
localhost       IN A            127.0.0.1
ns              IN A            192.168.0.2
www             IN A            192.168.0.2
mail            IN CNAME        www.test.com.

# hostname
www.test.com

# cat /etc/mail/access|grep -v '#'
Connect:localhost.localdomain           RELAY
Connect:localhost                       RELAY
Connect:127.0.0.1                       RELAY
test.com                                RELAY

# netstat -tunal|egrep ':110|:25'
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      
tcp        0      0 :::110                      :::*                        LISTEN      
# netstat -tunal|egrep ':53'
tcp        0      0 192.168.0.2:53              0.0.0.0:*                   LISTEN      
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      
tcp        0      0 ::1:53                      :::*                        LISTEN      
udp        0      0 192.168.0.2:53              0.0.0.0:*                              
udp        0      0 127.0.0.1:53                0.0.0.0:*                              
udp        0      0 0.0.0.0:5353                0.0.0.0:*                              
udp        0      0 ::1:53                      :::*                                    
udp        0      0 :::5353                     :::*                              

XP客戶端配置信息如下:

C:\Documents and Settings\Administrator>nslookup
Default Server:  www.test.com
Address:  192.168.0.2

> mail.test.com
Server:  www.test.com
Address:  192.168.0.2

Name:    www.test.com
Address:  192.168.0.2
Aliases:  mail.test.com


C:\Documents and Settings\Administrator>telnet mail.test.com 25
220 www.test.com ESMTP Sendmail 8.13.8/8.13.8; Tue, 31 May 2011 06:37:59 +0800

C:\Documents and Settings\Administrator>telnet mail.test.com 110
+OK Dovecot ready.

我懷疑是DNS 解析的問題 但是找不到具體原因。。。。。

OE里配置的是 mail.test.com


# tail -f /var/log/maillog.1
Nov 28 21:57:42 localhost sendmail: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Nov 28 21:57:42 localhost sendmail: starting daemon (8.13.8): SMTP+queueing@01:00:00
Nov 28 21:57:42 localhost sm-msp-queue: starting daemon (8.13.8): queueing@01:00:00
Nov 28 22:02:33 localhost sendmail: alias database /etc/aliases rebuilt by root
Nov 28 22:02:33 localhost sendmail: /etc/aliases: 78 aliases, longest 10 bytes, 785 bytes total
Nov 29 21:43:17 localhost sendmail: alias database /etc/aliases rebuilt by root
Nov 29 21:43:17 localhost sendmail: /etc/aliases: 78 aliases, longest 10 bytes, 785 bytes total
Nov 29 21:43:17 localhost sendmail: starting daemon (8.13.8): SMTP+queueing@01:00:00
Nov 29 21:43:18 localhost sm-msp-queue: starting daemon (8.13.8): queueing@01:00:00
Nov 29 22:41:55 localhost root: errinfo
《解決方案》

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination  

XP防火牆也關了。。。。。。。。。。
《解決方案》

本帖最後由 boywf87 於 2011-08-01 10:58 編輯

# mail -s hello one@test.com

(Interrupt -- one more to kill letter)
《解決方案》

問題解決了, 最後我檢查了selinux 屬性 發現:
# getenforce
Enforcing

尼瑪居然是強制使用狀態 太坑爹了。。。。。

果斷的修改屬性:

# setenforce 0
# getenforce
Permissive

測試:
#  mutt -f pop://one@mail.test.com

果斷看到久違的mutt 久違的畫面。。。

[火星人 ] sendmail 接收郵件報錯 總提示0x800ccc0f 錯誤??????已經有974次圍觀

http://coctec.com/docs/service/show-post-14235.html