return 421 in case mailbox is invalid
This commit is contained in:
parent
e117726cd9
commit
171100eda7
|
@ -520,7 +520,9 @@ async def forward_email_to_mailbox(
|
||||||
max_alert_24h=1,
|
max_alert_24h=1,
|
||||||
)
|
)
|
||||||
|
|
||||||
return False, "550 SL E14"
|
# retry later
|
||||||
|
# so when user fixes the mailbox, the email can be delivered
|
||||||
|
return False, "421 SL E14"
|
||||||
|
|
||||||
# Spam check
|
# Spam check
|
||||||
spam_status = ""
|
spam_status = ""
|
||||||
|
|
Loading…
Reference in New Issue