On 26/02/2013 23:49, Marcello Anderlini wrote:

In postfix main.cf I've had these lines
====================================================================
smtpd_sender_restrictions =
         reject_non_fqdn_sender,
         reject_non_fqdn_recipient,
         reject_unknown_recipient_domain,
         permit_mynetworks,
         check_policy_service inet:127.0.0.1:10031,
         reject_unauth_destination,
         reject_unauth_pipelining,
         reject_unknown_sender_domain,
         reject_non_fqdn_hostname,
         reject_invalid_hostname,
         reject_rbl_client zen.spamhaus.org,
         permit

smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031
====================================================================

Please note that I am not an expert. You will have to verify with the rest in the list here before using my configurations.

Here are my settings on CentOS 6.3 64bit. And it is working.

I am using it at smtpd_recipient_restrictions.

-------------------- start -----------------------------
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031

smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031,
                                permit_mynetworks,
                                permit_sasl_authenticated,
check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf,
                                reject_unauth_destination,
check_recipient_access hash:/etc/postfix/anti_spam_bypassed,
                                reject_non_fqdn_recipient,
                                reject_non_fqdn_sender,
                                reject_unknown_sender_domain,
                                reject_unknown_recipient_domain,
check_client_access hash:/etc/postfix/rbl_check_bypassed,
                                reject_rbl_client zen.spamhaus.org,
                                reject_rbl_client bl.spamcop.net,
check_client_access pcre:/etc/postfix/dspam_incoming

--------------------- end ------------------------------

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to