數碼中文坊

 取回密碼
 我要註冊
檢視: 6456|回覆: 10

求助:10054問題新解決方案

[複製連結]
發表於 2005-10-21 03:18:24 | 顯示全部樓層 |閱讀模式

馬上註冊,結交更多好友,享用更多功能,讓你輕鬆瀏覽論壇。

你需要 登入 才可以下載或檢視,沒有帳號?我要註冊

x
各位Mdaemon高手,经过反复测试,终于发现导致POP Session10054错误的居然是邮件主题.

如果邮箱中有??或????等主题的邮件则收信时一定产生10054错误,而且相应的IP都连接不上了.本人暂时无对策,请各位高手指点




發表於 2005-10-21 10:09:16 | 顯示全部樓層
通常主旨出現的 ???,我猜並不是真的 ? 號,應該是字元編碼的問題,這些字元應該原本是文字,由於無法辨識導致 MDaemon 在解讀上產生問題以致無法收信。

解決方案將 MDaemon 的編碼改成 UTF-8 試試。
 樓主| 發表於 2005-10-21 11:47:45 | 顯示全部樓層
对是邮件编码问题,但是请问MDaemonUTF8在那边改呢?
發表於 2005-10-21 11:54:34 | 顯示全部樓層
 樓主| 發表於 2005-10-21 12:14:36 | 顯示全部樓層
多謝,已經設置了,希望這樣可以
不過,我還請問一下,為什麼在內網里面就不會有這個問題,即(192.168.*.*),可以正常收發
 樓主| 發表於 2005-10-21 12:35:12 | 顯示全部樓層
各位高手:

   請問何處可以設置當某個IP出現一次10054錯誤後,不中止這個IP後邊的POP Session:
   現在我都覺得痛苦,主題編碼一出現???,就10054錯誤,然後這個IP就無法再訪問服務器了,我只有先刪除這樣的郵件,然後重啟服務器
  因為大陸上網是NAT,只有一個IP出口,點辦好呢?


Fri 2005-10-21 11:17:43: Session 1033; child 1
Fri 2005-10-21 11:17:42: Accepting POP connection from [210.5.18.178 : 1115]
Fri 2005-10-21 11:17:42: --> +OK uasia.com POP MDaemon 8.1.3 ready <[email protected]>
Fri 2005-10-21 11:17:42: <-- USER simon
Fri 2005-10-21 11:17:42: --> +OK simon... User ok
Fri 2005-10-21 11:17:42: <-- PASS ******
Fri 2005-10-21 11:17:43: --> +OK [email protected]'s mailbox has 2 total messages (105064 octets)
Fri 2005-10-21 11:17:43: <-- STAT
Fri 2005-10-21 11:17:43: --> +OK 2 105064
Fri 2005-10-21 11:17:43: <-- UIDL
Fri 2005-10-21 11:17:43: Sending UIDL response (not logged)
Fri 2005-10-21 11:17:43: <-- LIST
Fri 2005-10-21 11:17:43: Sending LIST response (not logged)
Fri 2005-10-21 11:17:43: <-- RETR 1
Fri 2005-10-21 11:17:43: --> +OK 4007 octets
Fri 2005-10-21 11:17:43: Sending <D:\MDAEMON\Users\uasia.com\Simon\md50000000217.msg> to [210.5.18.178]
Fri 2005-10-21 11:17:43: Transfer Complete.
Fri 2005-10-21 11:17:43: Socket connection closed by the other side (how rude!)
Fri 2005-10-21 11:17:43: Winsock Error 10053 Software caused a connection abort.
Fri 2005-10-21 11:17:43: POP session terminated, (Bytes in/out: 53/4359)
Fri 2005-10-21 11:17:43: ----------
Fri 2005-10-21 11:17:50: Session 1035; child 1
Fri 2005-10-21 11:17:50: Accepting POP connection from [210.5.18.178 : 1338]
Fri 2005-10-21 11:17:50: Winsock Error 10054 Connection was reset by the other side!
Fri 2005-10-21 11:17:50: POP session complete (Bytes in/out: 0/0)

Fri 2005-10-21 11:20:17: ----------
Fri 2005-10-21 11:20:36: Session 1047; child 1
Fri 2005-10-21 11:20:36: Accepting POP connection from [210.5.18.178 : 2139]
Fri 2005-10-21 11:20:36: Winsock Error 10054 Connection was reset by the other side!
Fri 2005-10-21 11:20:36: POP session complete (Bytes in/out: 0/0)
Fri 2005-10-21 11:20:36: ----------
Fri 2005-10-21 11:20:50: Session 1050; child 1
Fri 2005-10-21 11:20:50: Accepting POP connection from [210.5.18.178 : 1342]
Fri 2005-10-21 11:20:50: Winsock Error 10054 Connection was reset by the other side!
Fri 2005-10-21 11:20:50: POP session complete (Bytes in/out: 0/0)
Fri 2005-10-21 11:20:50: ----------
Fri 2005-10-21 11:21:05: Session 1051; child 1
Fri 2005-10-21 11:21:05: Accepting POP connection from [210.5.18.178 : 3213]
Fri 2005-10-21 11:21:05: Winsock Error 10054 Connection was reset by the other side!
Fri 2005-10-21 11:21:05: POP session complete (Bytes in/out: 0/0)

求解決方案
 樓主| 發表於 2005-10-21 12:58:00 | 顯示全部樓層
Fri 2005-10-21 11:17:43: Session 1033; child 1
Fri 2005-10-21 11:17:42: Accepting POP connection from [210.5.18.178 : 1115]
Fri 2005-10-21 11:17:42: --> +OK uasia.com POP MDaemon 8.1.3 ready <[email protected]>
Fri 2005-10-21 11:17:42: <-- USER simon
Fri 2005-10-21 11:17:42: --> +OK simon... User ok
Fri 2005-10-21 11:17:42: <-- PASS ******
Fri 2005-10-21 11:17:43: --> +OK [email protected]'s mailbox has 2 total messages (105064 octets)
Fri 2005-10-21 11:17:43: <-- STAT
Fri 2005-10-21 11:17:43: --> +OK 2 105064
Fri 2005-10-21 11:17:43: <-- UIDL
Fri 2005-10-21 11:17:43: Sending UIDL response (not logged)
Fri 2005-10-21 11:17:43: <-- LIST
Fri 2005-10-21 11:17:43: Sending LIST response (not logged)
Fri 2005-10-21 11:17:43: <-- RETR 1
Fri 2005-10-21 11:17:43: --> +OK 4007 octets
Fri 2005-10-21 11:17:43: Sending <D:\MDAEMON\Users\uasia.com\Simon\md50000000217.msg> to [210.5.18.178]
Fri 2005-10-21 11:17:43: Transfer Complete.
Fri 2005-10-21 11:17:43: Socket connection closed by the other side (how rude!)
Fri 2005-10-21 11:17:43: Winsock Error 10053 Software caused a connection abort.
Fri 2005-10-21 11:17:43: POP session terminated, (Bytes in/out: 53/4359)
Fri 2005-10-21 11:17:43: ----------
Fri 2005-10-21 11:17:50: Session 1035; child 1
Fri 2005-10-21 11:17:50: Accepting POP connection from [210.5.18.178 : 1338]
Fri 2005-10-21 11:17:50: Winsock Error 10054 Connection was reset by the other side!
Fri 2005-10-21 11:17:50: POP session complete (Bytes in/out: 0/0)
Fri 2005-10-21 11:17:50: ----------
Fri 2005-10-21 11:18:42: Session 1041; child 1
Fri 2005-10-21 11:18:42: Accepting POP connection from [210.5.18.178 : 1260]
Fri 2005-10-21 11:18:42: Winsock Error 10054 Connection was reset by the other side!
Fri 2005-10-21 11:18:42: POP session complete (Bytes in/out: 0/0)
Fri 2005-10-21 11:18:42: ----------
Fri 2005-10-21 11:18:44: Session 1042; child 1
Fri 2005-10-21 11:18:44: Accepting POP connection from [210.5.18.178 : 1589]
Fri 2005-10-21 11:18:44: Winsock Error 10054 Connection was reset by the other side!
Fri 2005-10-21 11:18:44: POP session complete (Bytes in/out: 0/0)
Fri 2005-10-21 11:18:44: ----------
Fri 2005-10-21 11:18:50: Session 1043; child 1
Fri 2005-10-21 11:18:50: Accepting POP connection from [210.5.18.178 : 1340]
Fri 2005-10-21 11:18:50: Winsock Error 10054 Connection was reset by the other side!
Fri 2005-10-21 11:18:50: POP session complete (Bytes in/out: 0/0)
Fri 2005-10-21 11:18:50: ----------
Fri 2005-10-21 11:19:02: Session 1044; child 1
Fri 2005-10-21 11:19:02: Accepting POP connection from [210.5.18.178 : 2487]
Fri 2005-10-21 11:19:02: Winsock Error 10054 Connection was reset by the other side!
Fri 2005-10-21 11:19:02: POP session complete (Bytes in/out: 0/0)
Fri 2005-10-21 11:19:02: ----------
發表於 2005-10-21 14:44:43 | 顯示全部樓層
引言 (Leonqian @ 2005/10/21 - 12:14)
多謝,已經設置了,希望這樣可以
不過,我還請問一下,為什麼在內網里面就不會有這個問題,即(192.168.*.*),可以正常收發

這應該是內網裏所寄出的信的編碼都是由 MDaemon 所主控,比較不會有其他編碼的問題。
 樓主| 發表於 2005-10-21 18:35:26 | 顯示全部樓層
March Fun高手:

  多謝您的建議,改成UTF-8還是有一定效果的,至少我可以收發主旨類似????的郵件了.

  不過現在仍有一問題就是,Mdaemon過濾不了這類郵件,特征為:收件人(或抄送)居然不是本公司域賬號,這類郵件也能進來?同時用戶一旦收這樣的郵件,也會出現10054錯誤,內網的用戶不會出問題.
  請問我該如何應付?或許那邊設置不到位?
發表於 2005-10-21 22:52:16 | 顯示全部樓層
MDaemon 本身還是有一些漏洞,這可能暫時要再觀察。
 樓主| 發表於 2005-10-22 12:38:06 | 顯示全部樓層
謝謝版主意見, 我也覺得有些非法郵件能進來,應該是一些BUG造成.
再來一個10054問題, 無論是內網或在外面,都不允許自己發郵件給自己,以下摘自SMTP(IN)日志,請幫助分析...

Sat 2005-10-22 10:25:37: ----------
Sat 2005-10-22 10:26:01: Session 717; child 1; thread 1008
Sat 2005-10-22 10:26:00: Accepting SMTP connection from [210.5.18.178 : 1373]
Sat 2005-10-22 10:26:00: --> 220 uasia.com ESMTP MDaemon 8.1.3; Sat, 22 Oct 2005 10:26:00 +0800
Sat 2005-10-22 10:26:00: <-- EHLO janezhan
Sat 2005-10-22 10:26:00: --> 250-uasia.com Hello janezhan, pleased to meet you
Sat 2005-10-22 10:26:00: --> 250-ETRN
Sat 2005-10-22 10:26:00: --> 250-AUTH=LOGIN
Sat 2005-10-22 10:26:00: --> 250-AUTH LOGIN CRAM-MD5
Sat 2005-10-22 10:26:00: --> 250-8BITMIME
Sat 2005-10-22 10:26:00: --> 250 SIZE 0
Sat 2005-10-22 10:26:01: <-- AUTH LOGIN
Sat 2005-10-22 10:26:01: --> 334 VXNlcm5hbWU6
Sat 2005-10-22 10:26:01: <-- amFuZQ==
Sat 2005-10-22 10:26:01: --> 334 UGFzc3dvcmQ6
Sat 2005-10-22 10:26:01: <-- ******
Sat 2005-10-22 10:26:01: --> 235 Authentication successful
Sat 2005-10-22 10:26:01: Authenticated as [email protected]
Sat 2005-10-22 10:26:01: <-- MAIL FROM: <[email protected]>
Sat 2005-10-22 10:26:01: --> 250 <[email protected]>, Sender ok
Sat 2005-10-22 10:26:01: <-- RCPT TO: <[email protected]>
Sat 2005-10-22 10:26:01: --> 250 <[email protected]>, Recipient ok
Sat 2005-10-22 10:26:01: Error reading from socket!
Sat 2005-10-22 10:26:01: Winsock Error 10054 Connection was reset by the other side!
Sat 2005-10-22 10:26:01: SMTP session terminated (Bytes in/out: 107/332)
Sat 2005-10-22 10:26:01: ----------
你需要登入後才可以回覆 登入 | 我要註冊

本版積分規則

Archiver|禁閉室|手機版|數碼中文坊

GMT+8, 2024-5-19 04:10 AM

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回覆 返回頂端 返回清單