這篇 kcw 兄的教學設定後,
在寄出外部信件時某些主機可以收到,
如yahoo(奇怪,都要等很久﹍有時要好幾個小時,
但用自己公司的帳號寄就不會),
我自己公司(也是架postfix)都可以正常收到
但某些私人主機或是gmail、hotmail 均無法收到﹍
無法投遞的信件退信如下﹍
- This is the mail system at host x1.abcd.idv.tw.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<xx.xxx@gmail.com>: host gmail-smtp-in.l.google.com[209.85.147.114] said:
550-5.7.1 [220.xxx.xxx.xxx] The IP you're using to send email is not
authorized 550-5.7.1 to send email directly to our servers. Please use
550 5.7.1 the SMTP relay at your service provider instead. j15si813068waf
(in reply to end of DATA command)
那是否除了自己架設dns 來作解析、設定mx 外別無他法~"~?
依稀記得之前用exim4 的時後 gmail 可正常收到(不確定有無記錯),
這是小弟的設定上有誤嗎?
postfix main.cf 修改部份如下
- myhostname = x1.abcd.idv.tw
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = abcd.idv.tw, localhost, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, rejrelay_domain = abcd.idv.tw
還是說小弟使用的ip 真的被列入黑名單?
如果是要怎樣查詢自己ip 是否有被哪些網域主機被列入黑名單呢?
以及後續的解決處理方式為﹍?
謝謝大家。