作者 主題: postfix + nopam 寄信給 hinet 帳號收不信~  (閱讀 2402 次)

0 會員 與 1 訪客 正在閱讀本文。

joe0120

  • 活潑的大學生
  • ***
  • 文章數: 241
    • 檢視個人資料
mail 架構~
S1:postfix 2.5.1-2ubuntu1.2 (mail server)
S2:nopam 2.0 (純過濾)
mail 寄發流程:postfix 收下信箱,傳給後端的 nopam 過濾 ,過濾後再傳回給 S1 至使用者的信箱

現在的問題:
只要公司內部人員寄信給使用 hinet 信箱的人 , 例xxxxx@ms12.hinet.net,對方就收不到~
請問有人遇到這種問題~

記錄檔如下
============記錄檔 postfix mail 記錄檔============

============記錄檔 postfix mail 記錄檔============

Jan 18 15:51:05 smtp postfix/smtpd[26988]: connect from mail-ww0-f53.google.com[74.125.82.53]
Jan 18 15:51:07 smtp postfix/smtpd[26988]: 173E75C063: client=mail-ww0-f53.google.com[74.125.82.53]
Jan 18 15:51:07 smtp postfix/cleanup[28971]: 173E75C063: message-id=<AANLkTimdjFKpiTp_5AtXNEsB+oZr7HTEFw9F_=w5ppTU@mail.gmail.com>
Jan 18 15:51:07 smtp postfix/qmgr[1930]: 173E75C063: from=<peter@gmail.com>, size=1985, nrcpt=1 (queue active)
Jan 18 15:51:12 smtp postfix/smtpd[28572]: connect from dial-95-105-189-139-orange.orange.sk[95.105.189.139]
Jan 18 15:51:13 smtp postfix/pickup[27734]: 385165C06D: uid=5001 from=<peter@gmail.com>
Jan 18 15:51:13 smtp postfix/cleanup[28952]: 385165C06D: message-id=<AANLkTimdjFKpiTp_5AtXNEsB+oZr7HTEFw9F_=w5ppTU@mail.gmail.com>
Jan 18 15:51:13 smtp postfix/pipe[28953]: 173E75C063: to=<kem@ms12.hinet.net>, relay=spamassassin, delay=6.7, delays=1.2/0/0/5.5, dsn=2.0.0, status=sent (delivered via spamassassin service)
Jan 18 15:51:13 smtp postfix/qmgr[1930]: 173E75C063: removed
Jan 18 15:51:13 smtp postfix/qmgr[1930]: 385165C06D: from=<peter@gmail.com>, size=2321, nrcpt=1 (queue active)
Jan 18 15:51:13 smtp postfix/smtp[28967]: 385165C06D: to=<kem@ms12.hinet.net>, relay=192.168.1.30[192.168.1.30]:10024, delay=0.22, delays=0.11/0/0/0.11, dsn=2.0.0, status=sent (250 2.0.0 5C997752 accepted (ID:1553561426, Size:2620B:, cnt:1) (#LSD_ok,))
Jan 18 15:51:13 smtp postfix/qmgr[1930]: 385165C06D: removed
Jan 18 15:51:19 smtp postfix/smtpd[28968]: connect from spam.test.com.tw[192.168.1.30]
Jan 18 15:51:19 smtp postfix/smtpd[28968]: CAC5D5C063: client=spam.test.com.tw[192.168.1.30]
Jan 18 15:51:19 smtp postfix/cleanup[28971]: CAC5D5C063: message-id=<AANLkTimdjFKpiTp_5AtXNEsB+oZr7HTEFw9F_=w5ppTU@mail.gmail.com>
Jan 18 15:51:19 smtp postfix/qmgr[1930]: CAC5D5C063: from=<peter@gmail.com>, size=2842, nrcpt=1 (queue active)
Jan 18 15:51:19 smtp postfix/smtpd[28968]: disconnect from spam.test.com.tw[192.168.1.30]
Jan 18 15:51:19 smtp postfix/local[28960]: CAC5D5C063: to=<kem@ms12.hinet.net>, relay=local, delay=0.14, delays=0.09/0/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)
Jan 18 15:51:19 smtp postfix/qmgr[1930]: CAC5D5C063: removed

========nopam qs 記錄檔============
20110118 15:49:13 Client disconnect mail.test.com.tw with 1 mails delivered [0:0:0.0000]
20110118 15:49:54 Client arrival from localhost
20110118 15:50:00 [CMD] aloha   /aloha
20110118 15:50:00 Client disconnect localhost with 0 mails delivered [0:0:0.0000]
20110118 15:50:40 Client arrival from smtp..com.tw
20110118 15:50:42 Get 2th mail 5C997752 (2620B) from smtp..com.tw ID:173E75C063
20110118 15:50:42 Send mail 5C997752 to LSD 127.0.0.1:10028 ok (0s), 250 2.0.0 5C997752 accepted (QS_MID:1553561426, Size:2629B)
20110118 15:50:42 Client disconnect smtp..com.tw with 1 mails delivered [0:0:0.0000]
20110118 15:50:42 Client arrival from localhost
20110118 15:51:00 [CMD] aloha   /aloha
20110118 15:51:00 Client disconnect localhost with 0 mails delivered [0:0:0.0000]
20110118 15:52:00 Client arrival from localhost
20110118 15:52:00 [CMD] aloha   /aloha
20110118 15:52:00 Client disconnect localhost with 0 mails delivered [0:0:0.0000]
20110118 15:52:00 Client arrival from mail.test.com.tw
20110118 15:52:11 Get 2th mail 5C997753 (4769B) from mail.test.com.tw ID:ADC405C067;
20110118 15:52:11 Send mail 5C997753 to LSD 127.0.0.1:10028 ok (1s), 250 2.0.0 5C997753 accepted (QS_MID:1553561427, Size:4778B)
20110118 15:52:11 Client disconnect mail.test.com.tw with 1 mails delivered [0:0:0.0000]
20110118 15:52:12 Client arrival from smtp..com.tw
20110118 15:52:13 Get 2th mail 5C997754 (4711B) from smtp..com.tw ID:71E075C063;
20110118 15:52:13 Send mail 5C997754 to LSD 127.0.0.1:10028 ok (0s), 250 2.0.0 5C997754 accepted (QS_MID:1553561428, Size:4720B)

========nopam lsd 記錄檔============
lsd_cleanup: skip normal cleanup without jobs (0/0/0/0/0)
process_mail: materialize mail 5C997752 as /nopam/data/lsd_async/2/#qs_5C997752
lsd_child_dispatch_job: assign 0th child 62677 with 5C997752
_process_mail: 0th child 62677 get 5C997752 (opt=2)
_process_mail: mail 5C997752 from <peter@gmail.com> has 1 rcpts [<kem@ms12.hinet.net>], message-id:subject:from:to
_process_mail: 5C997752 by lsd_wrapper, type=0; s=-20, (GSD sync, gs=0, s=-20, p=11), _gsd_action_HTTP: deliver 5C997752 to GSD
^_process_mail: deliver HAM 5C997752 to 192.168.1.35:10023 in 0s, pid=62677, (250 2.0.0 Ok: queued as CAC5D5C063)
_process_mail:
^_process_mail: remove materialized mail /nopam/data/lsd_async/2/#qs_5C997752
20110118 15:51:00 [CMD] aloha   /aloha
20110118 15:52:00 [CMD] aloha   /aloha
process_mail: materialize mail 5C997753 as /nopam/data/lsd_async/3/#qs_5C997753
lsd_child_dispatch_job: assign 0th child 62677 with 5C997753
_process_mail: 0th child 62677 get 5C997753 (opt=2)
^_process_mail: deliver HAM 5C997753 to 192.168.1.35:10023 in 0s, pid=62677, (250 2.0.0 Ok: queued as A08055C067)
_process_mail:
^_process_mail: remove materialized mail /nopam/data/lsd_async/3/#qs_5C997753
^C



« 上次編輯: 2011-01-18 21:38 由 joe0120 »

damon

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 4227
    • 檢視個人資料
    • http://blog.damon.tw/
回覆: postfix + nopam 寄信給 hinet 帳號收不信~
« 回覆 #1 於: 2011-01-19 10:44 »
架構很怪吧,建議把nospam當mail gateway就好,掃描過後就relay到postfix,這樣現在或是以後查問題都很簡單