Googles传出服务器今天在SORBS上收听
NOQUEUE: reject: RCPT from mail-ot0-f180.google.com[74.125.82.180]: 451 4.7.1 Service unavailable; Client host [74.125.82.180] blocked using dnsbl.sorbs.net; Currently Sending Spam See: http://www.sorbs.net/lookup.shtml?74.125.82.180;
现在我想将它们列入白名单。但这不起作用:
whitelist_recipient:
/^mail-.*\.google\.com$/ OK
后缀配置:
main.cf:
smtpd_recipient_restrictions =
....
check_recipient_access hash:/etc/postfix/whitelist_recipient,
....
reject_rbl_client dnsbl.sorbs.net,
....
但为什么呢? postmap whitelist_recipient我做过。
并且
postmap -q "mail-ot0-f180.google.com" regexp:whitelist_recipient
说:好的
我错了什么? 谢谢你的帮助!
答案 0 :(得分:1)
好的,经过很长时间,我发现了我的错误!
main.cf:
smtpd_recipient_restrictions =
....
check_client_access regexp:/etc/postfix/whitelist_recipient,
....
reject_rbl_client dnsbl.sorbs.net,
....
它不是哈希它必须正则表达式