mirror of
https://github.com/simple-login/app.git
synced 2024-11-14 08:01:13 +01:00
fix test
This commit is contained in:
parent
1b5521efcf
commit
215561dec1
1 changed files with 1 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue