diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-10-20 10:00:16 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-10-20 10:00:16 +0200 |
commit | bdecf1b3ba24112d61b25ce3f94d43aba990eaf5 (patch) | |
tree | 9d5538f8b03b806b16737590ab143eccf28dcd6a /ansible/roles/postfix | |
parent | d637891b66c7b82ffce092058e61410b77de1733 (diff) | |
download | infra-bdecf1b3ba24112d61b25ce3f94d43aba990eaf5.tar.gz infra-bdecf1b3ba24112d61b25ce3f94d43aba990eaf5.tar.bz2 infra-bdecf1b3ba24112d61b25ce3f94d43aba990eaf5.tar.xz infra-bdecf1b3ba24112d61b25ce3f94d43aba990eaf5.zip |
postfix: Setting message_size_limit.
Diffstat (limited to 'ansible/roles/postfix')
-rw-r--r-- | ansible/roles/postfix/tasks/main.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/postfix/tasks/main.yml b/ansible/roles/postfix/tasks/main.yml index 31ff3a2..c21159c 100644 --- a/ansible/roles/postfix/tasks/main.yml +++ b/ansible/roles/postfix/tasks/main.yml @@ -12,6 +12,8 @@ value: "noanonymous" - key: "smtp_tls_security_level" value: "{{ 'encrypt' if postfix__is_satellite else 'may' }}" + - key: "message_size_limit" + value: "{{ 10 * 1024 * 1024 }}" # Amazon SES has a max of 10MB lineinfile: dest: /etc/postfix/main.cf line: "{{ item.key }} = {{ item.value }}" |