SPF

De Wiki NCad
Révision de 4 décembre 2015 à 20:36 par Cacheln (discuter | contributions) (Page créée avec « = Installation = {{ Box Console | objet=apt-get install postfix-policyd-spf-python }} = Configuration de Postfix = * '''/etc/postfix/master.conf''' policyd-spf unix -... »)

(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

Installation

ICON Terminal.png

apt-get install postfix-policyd-spf-python

Configuration de Postfix

  • /etc/postfix/master.conf
policyd-spf unix - n n - 0 spawn
user=nobody argv=/usr/bin/python /usr/bin/policyd-spf /etc/postfix-policyd-spf-python/policyd-spf.conf
  • /etc/postfix/main.cf
smtpd_recipient_restrictions =
[...]
reject_unauth_destination
check_policy_service unix:private/policyd-spf
[...]

Configuration de Policyd-SPF

  • /etc/postfix/policyd-spf.conf
debugLevel = 1
defaultSeedOnly = 1
HELO_reject = SPF_Not_Pass
Mail_From_reject = Fail
PermError_reject = False
TempError_Defer = False
skip_addresses = 127.0.0.0/8,::ffff:127.0.0.0//104,::1//128