fix networks

This commit is contained in:
Antonio J. Delgado 2023-01-31 06:25:03 +02:00
parent 595e8d1320
commit 08b125c579
3 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ postfix_config:
# Block clients that speak too early.
smtpd_data_restrictions: reject_unauth_pipelining
# Don't talk to mail systems that don't know their own hostname.
smtpd_helo_restrictions: reject_unknown_helo_hostname
smtpd_helo_restrictions: permit_mynetworks reject_unknown_helo_hostname
smtpd_recipient_restrictions: permit_mynetworks, permit_sasl_authenticated, permit_auth_destination, reject_unauth_destination, check_policy_service unix:private/policy-spf
smtpd_relay_restrictions: permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_auth_enable: 'yes'

View file

@ -1,6 +1,6 @@
#!/bin/bash
declare clients=( hiljainen.susurrando.com deu1.susurrando.com adpvm01.susurrando.com adpvm02.susurrando.com adpvm03.susurrando.com adpvm04.susurrando.com)
declare clients=( hiljainen.susurrando.com )
rm /etc/postfix/allowed_clients
touch /etc/postfix/allowed_clients

View file

@ -198,7 +198,7 @@
path: /etc/postfix/allowed_clients
owner: root
group: postfix
mode: 0640
mode: 0644
- name: Create local aliases
ansible.builtin.lineinfile: