fix rules paths

This commit is contained in:
Mauro Torrez 2019-09-08 16:59:48 -03:00
parent 60733ffb92
commit f405c7ea47

View File

@ -142,7 +142,7 @@ postfix_client_access_list: []
# Restricciones aplicadas a los clientes SMTP # Restricciones aplicadas a los clientes SMTP
postfix_client_restrictions: postfix_client_restrictions:
- check_client_access pcre:{{ postfix_rules_dir }}/client_access_list - check_client_access pcre:/etc/postfix/{{ postfix_rules_dir }}/client_access_list
- permit_sasl_authenticated - permit_sasl_authenticated
- permit_mynetworks - permit_mynetworks
- reject_unknown_client_hostname - reject_unknown_client_hostname
@ -164,7 +164,7 @@ postfix_helo_access_list: []
# Requerir HELO/EHLO y aplicarle restricciones # Requerir HELO/EHLO y aplicarle restricciones
postfix_helo_restrictions: postfix_helo_restrictions:
- check_helo_access hash:{{ postfix_rules_dir }}/helo_access_list - check_helo_access hash:/etc/postfix/{{ postfix_rules_dir }}/helo_access_list
- permit_mynetworks - permit_mynetworks
- reject_non_fqdn_helo_hostname - reject_non_fqdn_helo_hostname
- reject_invalid_helo_hostname - reject_invalid_helo_hostname
@ -185,7 +185,7 @@ postfix_recipient_access_list: []
# Restricciones al destinatario especificado en RCPT TO # Restricciones al destinatario especificado en RCPT TO
postfix_recipient_restrictions: postfix_recipient_restrictions:
- check_recipient_access hash:{{ postfix_rules_dir }}/recipient_access_list - check_recipient_access hash:/etc/postfix/{{ postfix_rules_dir }}/recipient_access_list
- permit_mynetworks - permit_mynetworks
- permit_sasl_authenticated - permit_sasl_authenticated
- reject_unknown_recipient_domain - reject_unknown_recipient_domain
@ -200,7 +200,7 @@ postfix_sender_access_list: []
# Restricciones aplicadas al remitente especificado en MAIL FROM # Restricciones aplicadas al remitente especificado en MAIL FROM
postfix_sender_restrictions: postfix_sender_restrictions:
- check_sender_access hash:{{ postfix_rules_dir }}/sender_access_list - check_sender_access hash:/etc/postfix/{{ postfix_rules_dir }}/sender_access_list
- permit_sasl_authenticated - permit_sasl_authenticated
- permit_mynetworks - permit_mynetworks
- reject_unknown_sender_domain - reject_unknown_sender_domain
@ -258,7 +258,7 @@ postfix_postscreen_bare_newline_action: ignore
postfix_postscreen_dnsbl_action: enforce postfix_postscreen_dnsbl_action: enforce
# mapeo que determina cuáles dnsbls informar al cliente como razón del rechazo a la conexion # mapeo que determina cuáles dnsbls informar al cliente como razón del rechazo a la conexion
postfix_postscreen_dnsbl_reply_map: "pcre:$config_directory/reglas/postscreen_dnsbl_reply_map.pcre" postfix_postscreen_dnsbl_reply_map: "pcre:$config_directory/{{ postfix_rules_dir }}/postscreen_dnsbl_reply_map.pcre"
# umbral a superar para considerar al host remoto como spammer # umbral a superar para considerar al host remoto como spammer
postfix_postscreen_dnsbl_threshold: 3 postfix_postscreen_dnsbl_threshold: 3