use warning for ignore email
This commit is contained in:
parent
6fa267e92b
commit
945496f67d
|
@ -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…
Reference in New Issue