From e13a974e53a787cf6fda2617ac0739306dff228d Mon Sep 17 00:00:00 2001 From: Son Date: Wed, 13 Oct 2021 10:30:04 +0200 Subject: [PATCH] disable rate limiting --- app/email/rate_limit.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/email/rate_limit.py b/app/email/rate_limit.py index 7e78022e..918db145 100644 --- a/app/email/rate_limit.py +++ b/app/email/rate_limit.py @@ -93,6 +93,9 @@ def rate_limited_reply_phase(reply_email: str) -> bool: def rate_limited(mail_from: str, rcpt_tos: [str]) -> bool: + # todo: re-enable rate limiting + return False + for rcpt_to in rcpt_tos: if is_reply_email(rcpt_to): if rate_limited_reply_phase(rcpt_to):