You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/host_vars/dev-mail-01.yml

17 lines
522 B
YAML

---
hetzner_server_labels: "stage={{ stage }} service=mail"
postfix_mynetworks:
- '127.0.0.0/8' # default
- '[::ffff:127.0.0.0]/104' # default
- '[::1]/128' # default
- '{{ shared_service_network }}' # private cloud subnet
postfix_hostname: '{{ inventory_hostname }}.{{ domain }}'
postfix_mailname: '{{ inventory_hostname }}.{{ domain }}'
postfix_smtpd_banner: '$myhostname ESMTP $mail_name'
postfix_smtpd_recipient_restrictions:
- permit_mynetworks
- permit_sasl_authenticated
- reject_unauth_destination