mirror of
https://github.com/simple-login/app.git
synced 2024-11-17 22:21:38 +08: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
|
# Check if we need to reject or quarantine based on dmarc
|
||||||
try:
|
try:
|
||||||
dmarc_delivery_status = apply_dmarc_policy(
|
dmarc_delivery_status = apply_dmarc_policy(alias, contact, envelope, msg)
|
||||||
alias, contact, envelope, msg, from_header
|
|
||||||
)
|
|
||||||
if dmarc_delivery_status is not None:
|
if dmarc_delivery_status is not None:
|
||||||
return [(False, dmarc_delivery_status)]
|
return [(False, dmarc_delivery_status)]
|
||||||
except DmarcSoftFail:
|
except DmarcSoftFail:
|
||||||
|
|
Loading…
Reference in a new issue