mirror of
https://github.com/simple-login/app.git
synced 2025-10-25 15:52:03 +08:00
use warning for ignore email
This commit is contained in:
parent
6fa267e92b
commit
945496f67d
1 changed files with 1 additions and 1 deletions
|
|
@ -1556,7 +1556,7 @@ def handle(envelope: Envelope) -> str:
|
||||||
LOG.w("Cannot parse Postfix queue ID from %s", msg["Received"])
|
LOG.w("Cannot parse Postfix queue ID from %s", msg["Received"])
|
||||||
|
|
||||||
if should_ignore(mail_from, rcpt_tos):
|
if should_ignore(mail_from, rcpt_tos):
|
||||||
LOG.e("Ignore email mail_from=%s rcpt_to=%s", mail_from, rcpt_tos)
|
LOG.w("Ignore email mail_from=%s rcpt_to=%s", mail_from, rcpt_tos)
|
||||||
return status.E204
|
return status.E204
|
||||||
|
|
||||||
# sanitize email headers
|
# sanitize email headers
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue