chun 2010-4-14 22:18
[轉貼]yahoo.com.tw 不收我的 Mail Server 寄出的信
http://blog.ywdeng.idv.tw/index.php?op=ViewArticle&articleId=95&blogId=1<br><p>
我的 Linux Mail Server 送出去的信被拒絕了,以下這幾家特別不受歡迎
</p>
<p>
yahoo.com.tw<br>
pchome.com.tw<br>
hotmail.com<br>
yahoo.com
</p>
<p>
解決方案:
</p>
<p>
如果以 sendmail 當作 Mail Server
</p>
<p>
修改 /etc/mail/mailertable
</p>
<p>
.yahoo.com.tw smtp:168.95.4.211<br>
yahoo.com.tw smtp:168.95.4.211<br>
pchome.com.tw smtp:168.95.4.211<br>
.pchome.com.tw smtp:168.95.4.211<br>
hotmail.com smtp:168.95.4.211<br>
.hotmail.com smtp:168.95.4.211
</p>
<p>
意思是把收件人位於上述網址內的 email 轉給 168.95.4.211 (msa.hinet.net) Relay
</p>
<p>
如果以 Postfix 當作 Mail Server
</p>
<p>
修改 /etc/postfix/transport
</p>
<p>
pchome.com.tw smtp:[msa.hinet.net]<br>
.pchome.com.tw smtp:[msa.hinet.net]<br>
yahoo.com.tw smtp:[msa.hinet.net]<br>
.yahoo.com.tw smtp:[msa.hinet.net]<br>
yahoo.com smtp:[msa.hinet.net]<br>
.yahoo.com smtp:[msa.hinet.net]<br>
.hotmail.com smtp:[msa.hinet.net]<br>
hotmail.com smtp:[msa.hinet.net]
</p>
<p>
再修改 /etc/postfix/main.cf 加入
</p>
<p>
transport_maps = hash:/etc/postfix/transport
</p>
<p>
然後執行
</p>
postmap /etc/postfix/transport <br>