Вы находитесь на странице: 1из 1

######### Apply SPF check policy ##############

yum install pypolicyd-spf

cd /etc/postfix

vi main.cf

policy-spf_time_limit = 3600s

## Search for ' smtpd_recipient_restrictions ' and add the following lien there '
check_policy_service unix:private/policy '
smtpd_recipient_restrictions =

permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
check_policy_service unix:private/policy
permit

vi master.cf

policy unix - n n - 0 spawn user=nobody


argv=/usr/bin/python /usr/libexec/postfix/policyd-spf

service postfix restart