aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/postfix/tasks/main.yml2
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 }}"