Yahoo奇摩知識+將於 2021 年 5 月 4 日 (美國東部時間) 終止服務。自 2021 年 4 月 20 日 (美國東部時間) 起,Yahoo奇摩知識+服務將會轉為唯讀模式。其他Yahoo奇摩產品與服務或您的Yahoo奇摩帳號都不會受影響。如需關於Yahoo奇摩知識+ 停止服務以及下載您個人資料的資訊,請參閱說明網頁。
Linux郵件伺服器 Outlook無法收信
最近架設郵件伺服器
可以用Openwebmail在網內/網外正常收發信件
但是用Outlook就只能寄信 無法收信系統: CentOS 5.6
POP3: Dovecot
SMTP: Postfix
關閉Firewall & SELinux
對外的路由器也有映射對應的Port (25.110)有安裝SASL進行SMTP的認證
並配合mailscanner和clamav
main.cf 設定檔如下:
=================================================================
mydomain = com.tw
myhostname = xxxx.com.tw
myorigin = $mydomainmynetworks = 192.168.1.25, 102.118.2.13, 192.168.1.0/24, 127.0.0.0/8
mynetworks_style = subnet
mydestination = $myhostname, localhost.$mydomain, localhost, xxxx.com.twinet_interfaces = all
# 使用中華電信的伺服器轉寄
relayhost = [ms5.hinet.net]
=================================================================
main.cf裡面的SASL設定:
=================================================================
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner=Welcome NALHON Mail Server SMTP Service
smtpd_hello_required = yes
smtpd_recipient_limit = 300smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
check_recipient_access hash:/etc/postfix/access,
reject_rbl_client,
reject_invalid_hostname,
reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client cblless.anti-spam.org.cn,
reject_rbl_client sbl-xbl.spamhaus.org,
smtpd_client_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
check_client_access hash:/etc/postfix/access
reject_rbl_client cbl.abuseat.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client cblless.anti-spam.org.cn,
reject_rbl_client sbl-xbl.spamhaus.orgsmtpd_sender_restrictions =
reject_unknown_sender_domain,
reject_non_fqdn_sender,
=================================================================
已排除空間不足、防毒...等問題!
以下是telnet的測試
"25"
220 Welcome NAHON Mail Server SMTP Service
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
"110"
+OK Dovecot ready.
套件功能正常...但outlook始終收不到信...反而openwebmail都正常!
1 個解答
- AYO 阿佑Lv 710 年前最佳解答
您好,誠摯地來回答您的問題 : 您的狀況看起來 dovecot 110 port 的狀態是通的~~您如果使用 outlook 來收信時,雖然收不到~~ 但是有任何錯誤訊息嗎??亦或者您可以到/var/log/poplog 看看有無任何錯誤的 log以上 AYO 阿佑
參考資料: 自己+業界多年經驗+電腦週邊急救團