iT邦幫忙

0

postfix檢查垃圾郵件設定問題(check_client_access)

check_client_access是檢查 from mail.aaa.bbb.com (218-161-54-100.hinet-ip.hinet.net [218.161.54.100]) 的218-161-54-100.hinet-ip.hinet.net跟218.161.54.100,若有出現unknown的話,postfix有辦法針對unknown的字眼去阻擋嗎?因為發現垃圾信都會出現unknown

例如:
from line.ballyfatgone.bid (unknown [74.221.210.184])

1 個回答

0
msnman
iT邦研究生 2 級 ‧ 2017-10-26 14:17:51

在postfix的main.cf中設定這項,但你必須知道是否所有unknown都是不重要的信,不然擋了客戶的信又不知道為什麼就慘了!

smtpd_recipient_restrictions

These destinations do not need to be listed in $relay_domains.

The following restrictions are available (* is part of default setting):

permit_mynetworks: permit if the client address matches $mynetworks.
*reject_unknown_client: reject the request if the client hostname is unknown.*
reject_maps_rbl: reject if the client is listed under $maps_rbl_domains.
reject_invalid_hostname: reject HELO hostname with bad syntax.
reject_unknown_hostname: reject HELO hostname without DNS A or MX record.
reject_unknown_sender_domain: reject sender domain without A or MX record.

我要發表回答

立即登入回答