library/roles/postfix-relay: Permit to specify the receivers maximum number

library/roles/ubuntu-deb-general: Remove exim.
This commit is contained in:
Andrea Dell'Amico 2015-07-06 17:46:26 +02:00
parent cae37fb97c
commit ed8dbc873a
4 changed files with 15 additions and 3 deletions

View File

@ -8,6 +8,7 @@ postfix_smtp_create_relay_user: True
# See vars/isti-global.yml
postfix_relay_host: smtp-relay.research-infrastructures.eu
postfix_relay_port: 587
postfix_default_destination_concurrency_limit: 20
#postfix_smtp_relay_user: smtp-user
# This one has to be set inside a vault file
#postfix_smtp_relay_pwd: set_you_password_here_in_a_vault_encrypted_file

View 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
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
@ -49,6 +46,7 @@ inet_protocols = ipv4
{% endif %}
mailbox_size_limit = 0
recipient_delimiter = +
default_destination_concurrency_limit = {{ postfix_default_destination_concurrency_limit }}
{% if postfix_use_sasl_auth %}
smtp_sasl_auth_enable= {{ postfix_smtp_sasl_auth_enable }}
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

View File

@ -61,6 +61,13 @@ cleanup_rpcbind_packages: False
rpcbind_packages:
- rpcbind
cleanup_exim_email_server: True
exim_email_server_pkgs:
- exim4
- exim4-base
- exim4-config
- exim4-daemon-light
disable_ipv6: True
ipv6_sysctl_value: 1
ipv6_sysctl_file: /etc/sysctl.d/10-ipv6-disable.conf

View File

@ -35,3 +35,9 @@
- packages
- 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' ]