forked from ISTI-ansible-roles/ansible-roles
library/roles/postfix-relay: Permit to specify the receivers maximum number
library/roles/ubuntu-deb-general: Remove exim.
This commit is contained in:
parent
cae37fb97c
commit
ed8dbc873a
|
@ -8,6 +8,7 @@ postfix_smtp_create_relay_user: True
|
||||||
# See vars/isti-global.yml
|
# See vars/isti-global.yml
|
||||||
postfix_relay_host: smtp-relay.research-infrastructures.eu
|
postfix_relay_host: smtp-relay.research-infrastructures.eu
|
||||||
postfix_relay_port: 587
|
postfix_relay_port: 587
|
||||||
|
postfix_default_destination_concurrency_limit: 20
|
||||||
#postfix_smtp_relay_user: smtp-user
|
#postfix_smtp_relay_user: smtp-user
|
||||||
# This one has to be set inside a vault file
|
# This one has to be set inside a vault file
|
||||||
#postfix_smtp_relay_pwd: set_you_password_here_in_a_vault_encrypted_file
|
#postfix_smtp_relay_pwd: set_you_password_here_in_a_vault_encrypted_file
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
|
|
||||||
|
|
||||||
|
|
||||||
# Debian specific: Specifying a file name will cause the first
|
# Debian specific: Specifying a file name will cause the first
|
||||||
# line of that file to be used as the name. The Debian default
|
# line of that file to be used as the name. The Debian default
|
||||||
# is /etc/mailname.
|
# is /etc/mailname.
|
||||||
|
@ -49,6 +46,7 @@ inet_protocols = ipv4
|
||||||
{% endif %}
|
{% endif %}
|
||||||
mailbox_size_limit = 0
|
mailbox_size_limit = 0
|
||||||
recipient_delimiter = +
|
recipient_delimiter = +
|
||||||
|
default_destination_concurrency_limit = {{ postfix_default_destination_concurrency_limit }}
|
||||||
{% if postfix_use_sasl_auth %}
|
{% if postfix_use_sasl_auth %}
|
||||||
smtp_sasl_auth_enable= {{ postfix_smtp_sasl_auth_enable }}
|
smtp_sasl_auth_enable= {{ postfix_smtp_sasl_auth_enable }}
|
||||||
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
|
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
|
||||||
|
|
|
@ -61,6 +61,13 @@ cleanup_rpcbind_packages: False
|
||||||
rpcbind_packages:
|
rpcbind_packages:
|
||||||
- rpcbind
|
- rpcbind
|
||||||
|
|
||||||
|
cleanup_exim_email_server: True
|
||||||
|
exim_email_server_pkgs:
|
||||||
|
- exim4
|
||||||
|
- exim4-base
|
||||||
|
- exim4-config
|
||||||
|
- exim4-daemon-light
|
||||||
|
|
||||||
disable_ipv6: True
|
disable_ipv6: True
|
||||||
ipv6_sysctl_value: 1
|
ipv6_sysctl_value: 1
|
||||||
ipv6_sysctl_file: /etc/sysctl.d/10-ipv6-disable.conf
|
ipv6_sysctl_file: /etc/sysctl.d/10-ipv6-disable.conf
|
||||||
|
|
|
@ -35,3 +35,9 @@
|
||||||
- packages
|
- packages
|
||||||
- pkg_cleanup
|
- pkg_cleanup
|
||||||
|
|
||||||
|
- name: Remove the exim packages
|
||||||
|
apt: name={{ item }} state=removed
|
||||||
|
with_items: exim_email_server_pkgs
|
||||||
|
when: cleanup_exim_email_server
|
||||||
|
tags: [ 'packages', 'pkg_cleanup', 'exim' ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue