use debug level when postfix queue id can't be parsed

This commit is contained in:
Son Nguyen Kim 2021-09-15 09:28:27 +02:00
parent 3441d2ccf1
commit 144418ae47

View file

@ -1738,7 +1738,7 @@ def handle(envelope: Envelope) -> str:
if postfix_queue_id:
set_message_id(postfix_queue_id)
else:
LOG.w("Cannot parse Postfix queue ID from %s", msg["Received"])
LOG.d("Cannot parse Postfix queue ID from %s", msg["Received"])
if should_ignore(mail_from, rcpt_tos):
LOG.w("Ignore email mail_from=%s rcpt_to=%s", mail_from, rcpt_tos)