return 421 in case mailbox is invalid

This commit is contained in:
Son NK 2020-08-30 19:08:53 +02:00
parent e117726cd9
commit 171100eda7
1 changed files with 3 additions and 1 deletions

View File

@ -520,7 +520,9 @@ async def forward_email_to_mailbox(
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_status = ""