Postfix функция check_sender_accessСоздал файл sender_checks зделал на него Хеш и прописад в main.cf строки:
check_sender_access hash:/etc/postfix/sender_checks,
check_sender_access prce:/etc/postfix/sender_checks,
Почта перестает работать вот вырезка из конфига :
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unknown_sender_domain,
reject_unauth_destination,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_pipelining,
reject_invalid_hostname,
check_sender_access hash:/etc/postfix/sender_checks,
check_sender_access prce:/etc/postfix/sender_checks,
reject_rbl_client dnsbl.njabl.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client intercept.datapacket.net,
reject_rbl_client dnsbl-1.uceprotect.net,
reject_rbl_client dnsbl.sorbs.net,
reject_rbl_client dsbl.dsbl.org,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client cbl.anti-spam.org.cn,
reject_rbl_client combined.rbl.msrbl.net,
reject_rbl_client zen.spamhaus.org,
Так же пробовал так :
smtpd_restriction_classes = pass_rbl
pass_rbl = check_sender_access hash:/etc/postfix/access_sender
smtpd_recipient_restrictions = reject_invalid_hostname,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unknown_sender_domain,
reject_unauth_pipelining,
permit_mynetworks,
reject_unauth_destination,
check_client_access hash:/etc/postfix/pass_rbl,
reject_rbl_client relays.visi.com,