disable rate limiting

This commit is contained in:
Son 2021-10-13 10:30:04 +02:00
parent 68cf54b2d9
commit e13a974e53
1 changed files with 3 additions and 0 deletions

View File

@ -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):