2015-07-23 22:55:24 +02:00
|
|
|
---
|
2016-08-09 18:57:37 +02:00
|
|
|
postfix_enabled: True
|
|
|
|
postfix_install_packages: True
|
2015-07-23 22:55:24 +02:00
|
|
|
# Set it to true when you want configure your machine to send email to a relay
|
|
|
|
postfix_relay_client: False
|
2015-05-28 11:32:57 +02:00
|
|
|
postfix_biff: "no"
|
|
|
|
postfix_append_dot_mydomain: "no"
|
|
|
|
postfix_use_relay_host: True
|
|
|
|
|
2015-09-03 02:36:22 +02:00
|
|
|
# Accepted values: none, may, encrypt
|
|
|
|
postfix_smtpd_tls_security_level: encrypt
|
|
|
|
# Accepted values: none, may, encrypt, fingerprint, verify, secure. And from 2.11: dane, dane-only
|
|
|
|
postfix_smtp_tls_security_level: encrypt
|
2015-05-28 11:32:57 +02:00
|
|
|
postfix_use_sasl_auth: True
|
|
|
|
postfix_smtp_sasl_auth_enable: "yes"
|
|
|
|
postfix_smtp_create_relay_user: True
|
2016-01-22 15:47:54 +01:00
|
|
|
# Set it in the local rules
|
2015-10-15 12:25:33 +02:00
|
|
|
#postfix_relay_host: smtp-relay.example.com
|
2015-05-28 11:32:57 +02:00
|
|
|
postfix_relay_port: 587
|
2015-07-06 17:46:26 +02:00
|
|
|
postfix_default_destination_concurrency_limit: 20
|
2015-05-28 11:32:57 +02:00
|
|
|
#postfix_smtp_relay_user: smtp-user
|
2015-10-15 12:25:33 +02:00
|
|
|
postfix_smtp_relay_user: '{{ ansible_fqdn }}'
|
2015-05-28 11:32:57 +02:00
|
|
|
# This one has to be set inside a vault file
|
|
|
|
#postfix_smtp_relay_pwd: set_you_password_here_in_a_vault_encrypted_file
|
|
|
|
|
|
|
|
# The following options are used only whe postfix_relay_server is set to True
|
|
|
|
postfix_relay_server: False
|
|
|
|
postfix_mynetworks: hash:/etc/postfix/network_table
|
|
|
|
postfix_interfaces: all
|
|
|
|
postfix_inet_protocols: all
|
|
|
|
postfix_message_size_limit: 10240000
|
|
|
|
|
|
|
|
postfix_sasl_packages:
|
|
|
|
- sasl2-bin
|
2016-08-09 18:57:37 +02:00
|
|
|
|
|
|
|
postfix_nagios_check: False
|
|
|
|
postfix_nagios_checks:
|
|
|
|
- check_postfix_mailqueue
|
|
|
|
- check_postfix_processed
|
|
|
|
|
|
|
|
nagios_postfix_mailq_w: 20
|
|
|
|
nagios_postfix_mailq_c: 50
|
|
|
|
nagios_postfix_processed_w: 50
|
|
|
|
nagios_postfix_processed_c: 150
|