From 215561dec1e84a149db6ea37b3482cb2db563179 Mon Sep 17 00:00:00 2001 From: Son Date: Wed, 30 Mar 2022 20:54:42 +0700 Subject: [PATCH] fix test --- email_handler.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/email_handler.py b/email_handler.py index e2a94903..ddba3e4b 100644 --- a/email_handler.py +++ b/email_handler.py @@ -717,9 +717,7 @@ def handle_forward(envelope, msg: Message, rcpt_to: str) -> List[Tuple[bool, str # Check if we need to reject or quarantine based on dmarc try: - dmarc_delivery_status = apply_dmarc_policy( - alias, contact, envelope, msg, from_header - ) + dmarc_delivery_status = apply_dmarc_policy(alias, contact, envelope, msg) if dmarc_delivery_status is not None: return [(False, dmarc_delivery_status)] except DmarcSoftFail: