From 69a99d951ea0da9271e43074cc68da1eb421c298 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 5 Oct 2015 21:41:17 +0200 Subject: [PATCH] Set Postfix message_size_limit and inet_interfaces --- roles/ispmail-postfix/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/ispmail-postfix/tasks/main.yml b/roles/ispmail-postfix/tasks/main.yml index ee25f3c..e57903d 100644 --- a/roles/ispmail-postfix/tasks/main.yml +++ b/roles/ispmail-postfix/tasks/main.yml @@ -92,3 +92,9 @@ - name: Enabling spamd at startup command: systemctl enable spamassassin +- name: Allow emails up to 40 MB large + command: postconf message_size_limit=41943040 + +- name: Make Postfix listen on all interfaces + command: postconf inet_interfaces=all +