星期三, 10月 15, 2008

Google應用服務「自己寄給自己」會出現退信的錯誤訊息

設定好gmail應用服務
自己寄信給自己會出現

------------------------------------------------------------------------------------
This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

chunkai@dches.chc.edu.tw

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 : Relay access denied (state 14).
.
.
.

----------------------------------------------------------------------------------

由於主機mail.dches.chc.edu.tw本身原本就有提供postfix郵件服務,而/etc/postfix/main.cf檔案中,mydestination的作用是設定「能夠收信的主機名稱」,dches.chc.edu.tw卻不在收信主機名單內,所以信件雖然會寄到,但是卻也會再發一封退信的錯誤訊息。

只要將mydestination內加上dches.chc.edu.tw或是直接將postfix直接停用,信件就不會被退信了,下指令
service postfix stop(關閉服務,但是重開機服務仍會啟動)

chkconfig --del postfix直接刪除服務
或是
chkconfig postfix off停用服務(建議這樣比較好)

0 意見:

 

Chunkai's Blog Copyright © 2009 Cookiez is Designed by Ipietoon for Free Blogger Template