歡迎您光臨本站 註冊首頁

postfix可以收信,卻發不了信

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

postfix可以收信,卻發不了信

我的POSTFIX 現在可以收信,但卻無法發信,請大家多多指點啊
debian5:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
mailbox_size_limit = 0
mydestination = mail.vwxin.cn, debian5.vwxin.cn, localhost.vwxin.cn, localhost, vwxin.cn
mydomain = vwxin.cn
myhostname = mail.vwxin.cn
mynetworks = 127.0.0.0/8, 58.246.99.0/24, 10.144.176.0/24, 10.144.177.0/24
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = vwxin.cn
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes


Mar 25 10:38:06 debian5 postfix/smtpd: connect from unknown
Mar 25 10:38:07 debian5 postfix/smtpd: 114F1FF01: client=unknown
Mar 25 10:38:10 debian5 postfix/smtpd: 259D3FF01: client=unknown
Mar 25 10:38:10 debian5 postfix/cleanup: 259D3FF01: message-id=<7C5092732B9D4862814B9B84BFDB5A3C@lemonasia.com>
Mar 25 10:38:10 debian5 postfix/qmgr: 259D3FF01: from=<jojo@vwxin.cn>, size=6155, nrcpt=1 (queue active)
Mar 25 10:38:10 debian5 postfix/smtpd: connect from unknown
Mar 25 10:38:10 debian5 postfix/smtp: warning: host mail.vwxin.cn:25 greeted me with my own hostname mail.vwxin.cn
Mar 25 10:38:10 debian5 postfix/smtp: warning: host mail.vwxin.cn:25 replied to HELO/EHLO with my own hostname mail.vwxin.cn
Mar 25 10:38:10 debian5 postfix/smtp: 259D3FF01: to=<tk792@hotmail.com>, relay=mail.vwxin.cn:25, delay=0.2, delays=0.01/0.01/0.19/0, dsn=5.4.6, status=bounced (mail for vwxin.cn loops back to myself)
Mar 25 10:38:10 debian5 postfix/smtpd: disconnect from unknown
Mar 25 10:38:10 debian5 postfix/cleanup: 596E4FF04: message-id=<20090325023810.596E4FF04@mail.vwxin.cn>
Mar 25 10:38:10 debian5 postfix/qmgr: 596E4FF04: from=<>, size=7867, nrcpt=1 (queue active)
Mar 25 10:38:10 debian5 postfix/bounce: 259D3FF01: sender non-delivery notification: 596E4FF04
Mar 25 10:38:10 debian5 postfix/qmgr: 259D3FF01: removed
Mar 25 10:38:10 debian5 postfix/local: 596E4FF04: to=<jojo@vwxin.cn>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Mar 25 10:38:10 debian5 postfix/qmgr: 596E4FF04: removed
Mar 25 10:38:10 debian5 postfix/smtpd: disconnect from unknown
《解決方案》

不能發要看log,然後手工telnet測試看看問題在哪
《解決方案》

收信是dovecot吧,postfix只負責發送
《解決方案》

回復 #1 pu57 的帖子

replied to HELO/EHLO with my own hostname ,這個檢測一下
還有客戶端的提示信息是什麼
《解決方案》

原帖由 cuci 於 2009-3-25 10:53 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
不能發要看log,然後手工telnet測試看看問題在哪
謝謝,如果通過內部做一個telnet測試,郵件是可以發送出去的. 但是如果我有外部的IP來連接他會提示我
220 mail.vwxin.cn ESMTP Postfix (Debian/GNU)
helo tam
250 mail.vwxin.cn
mail from:dkk@com.com
250 2.1.0 Ok
rcpt to:jojo.pu@commcentral.com
554 5.7.1 <jojo.pu@commcentral.com>: Relay access denied

看來好象是Relay的問題,我的環境是一個debian5加上apt-get安裝的postfix+courier-pop3
《解決方案》

原帖由 timdcn 於 2009-3-25 10:59 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
收信是dovecot吧,postfix只負責發送
是的,收沒有問題,這是發送有點問題。。
《解決方案》

原帖由 kns1024wh 於 2009-3-25 11:22 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
replied to HELO/EHLO with my own hostname ,這個檢測一下
還有客戶端的提示信息是什麼
謝謝,客戶端這裡沒有提示,從outlook來看,好象是發出去的樣子,其實沒有到達對方

[火星人 ] postfix可以收信,卻發不了信已經有651次圍觀

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