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