From bdecf1b3ba24112d61b25ce3f94d43aba990eaf5 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 20 Oct 2019 10:00:16 +0200 Subject: postfix: Setting message_size_limit. --- ansible/roles/postfix/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) 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 }}" -- cgit v1.2.3