diff --git a/chatmaild/src/chatmaild/filtermail.py b/chatmaild/src/chatmaild/filtermail.py index 66562569..b493bab8 100644 --- a/chatmaild/src/chatmaild/filtermail.py +++ b/chatmaild/src/chatmaild/filtermail.py @@ -149,7 +149,7 @@ class SendRateLimiter: def main(): args = sys.argv[1:] assert len(args) == 1 - logging.basicConfig(level=logging.INFO) + logging.basicConfig(level=logging.WARN) loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) task = asyncmain_beforequeue(port=int(args[0])) diff --git a/deploy-chatmail/src/deploy_chatmail/postfix/master.cf.j2 b/deploy-chatmail/src/deploy_chatmail/postfix/master.cf.j2 index ceae0d95..7c932c65 100644 --- a/deploy-chatmail/src/deploy_chatmail/postfix/master.cf.j2 +++ b/deploy-chatmail/src/deploy_chatmail/postfix/master.cf.j2 @@ -32,6 +32,7 @@ submission inet n - y - - smtpd -o smtpd_recipient_restrictions= -o smtpd_relay_restrictions=permit_sasl_authenticated,reject -o milter_macro_daemon_name=ORIGINATING + -o smtpd_client_connection_count_limit=100 -o smtpd_proxy_filter=127.0.0.1:10080 smtps inet n - y - - smtpd -o syslog_name=postfix/smtps @@ -46,6 +47,7 @@ smtps inet n - y - - smtpd -o smtpd_sender_restrictions=$mua_sender_restrictions -o smtpd_recipient_restrictions= -o smtpd_relay_restrictions=permit_sasl_authenticated,reject + -o smtpd_client_connection_count_limit=100 -o milter_macro_daemon_name=ORIGINATING -o smtpd_proxy_filter=127.0.0.1:10080 #628 inet n - y - - qmqpd