postfix: add spf verification to packmail config
This commit is contained in:
parent
0cdae8b246
commit
7413ebdd2b
|
@ -6,6 +6,7 @@
|
|||
with_items:
|
||||
- postfix
|
||||
- postfix-ldap
|
||||
- postfix-policyd-spf-python
|
||||
- mailgraph
|
||||
tags:
|
||||
- postfix
|
||||
|
|
|
@ -339,6 +339,7 @@ smtpd_recipient_restrictions =
|
|||
permit_mynetworks,
|
||||
permit_sasl_authenticated,
|
||||
reject_unauth_destination,
|
||||
check_policy_service unix:private/policyd-spf,
|
||||
check_client_access hash:$config_directory/client.access_local,
|
||||
check_client_access hash:$config_directory/client.access,
|
||||
check_sender_access hash:$config_directory/sender.access_local,
|
||||
|
@ -350,6 +351,8 @@ smtpd_recipient_restrictions =
|
|||
reject_non_fqdn_sender,
|
||||
reject_unauth_pipelining,
|
||||
|
||||
policyd-spf_time_limit = 3600
|
||||
|
||||
header_checks =
|
||||
regexp:$config_directory/header_kill_local,
|
||||
regexp:$config_directory/header_kill
|
||||
|
|
|
@ -116,6 +116,9 @@ mailman unix - n n - - pipe
|
|||
|
||||
slow unix - - n - - smtp
|
||||
|
||||
policyd-spf unix - n n - 0 spawn
|
||||
user=policyd-spf argv=/usr/bin/policyd-spf
|
||||
|
||||
dovecot unix - n n - - pipe
|
||||
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
|
||||
|
||||
|
|
Loading…
Reference in a new issue