From 17ecb3d1cae088704c5bdbc90dd9eea5f5606689 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 28 Jun 2023 08:04:06 +0200 Subject: [PATCH] Add possibility to increase procsess limit --- defaults/main.yml | 1 + templates/postfix/master.cf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 35797c5..9b11b91 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -19,6 +19,7 @@ postfix_pflogsumm_enabled: true postfix_pflogsumm_mail_subject: "Mailserver Statistics" postfix_myhostname: "$myorigin" postfix_relayhost: "" +postfix_smtpd_maxproc: 100 postfix_type: internet postfix_alias_maps: diff --git a/templates/postfix/master.cf b/templates/postfix/master.cf index 894dcde..8869d6a 100644 --- a/templates/postfix/master.cf +++ b/templates/postfix/master.cf @@ -6,7 +6,7 @@ # ========================================================================== {% if postfix_type == "internet" %} smtp inet n - y - 1 postscreen -smtpd pass - - y - 100 smtpd +smtpd pass - - y - {{ postfix_smtpd_maxproc }} smtpd -o cleanup_service_name=smtpd-in {% else %} smtp inet n - y - - smtpd