Reduce the number of spampd processes
[sysconfig/postfix.git] / master.cf
index 895bc1de2dcc221af1b249acf79362b28bf22937..4e3da11926ec6aa0f9f8f3de19ea6606a86a0681 100644 (file)
--- a/master.cf
+++ b/master.cf
@@ -8,7 +8,6 @@
 # service type  private unpriv  chroot  wakeup  maxproc command + args
 #               (yes)   (yes)   (yes)   (never) (100)
 # ==========================================================================
-smtp      inet  n       -       -       -       -       smtpd
 #submission inet n       -       -       -       -       smtpd
 #  -o smtpd_tls_security_level=encrypt
 #  -o smtpd_sasl_auth_enable=yes
@@ -39,9 +38,12 @@ smtp      unix  -       -       -       -       -       smtp
 # Before-filter SMTP server. Receive mail from the network and
 # pass it to the content filter on localhost port 10025.
 #
-smtp      inet  n       -       -       -       15      smtpd
+# I *think* that the maxproc cap wants to be no more than the number
+# of spampd processes that can run, but I'm not really sure
+# (and hopefully it doesn't *really* matter)
+smtp      inet  n       -       -       -        5      smtpd
         -o smtpd_proxy_filter=127.0.0.1:10025
-        -o smtpd_client_connection_count_limit=10
+        -o smtpd_client_connection_count_limit=15
 #
 # After-filter SMTP server. Receive mail from the content filter
 # on localhost port 10026.