mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
add more log to investigate "Cannot parse Postfix queue ID" error
This commit is contained in:
parent
57bfa7e933
commit
d18bb28ca9
|
@ -1744,7 +1744,11 @@ def handle(envelope: Envelope) -> str:
|
||||||
if postfix_queue_id:
|
if postfix_queue_id:
|
||||||
set_message_id(postfix_queue_id)
|
set_message_id(postfix_queue_id)
|
||||||
else:
|
else:
|
||||||
LOG.d("Cannot parse Postfix queue ID from %s", msg[headers.RECEIVED])
|
LOG.d(
|
||||||
|
"Cannot parse Postfix queue ID from %s %s",
|
||||||
|
msg.get_all(headers.RECEIVED),
|
||||||
|
msg[headers.RECEIVED],
|
||||||
|
)
|
||||||
|
|
||||||
if should_ignore(mail_from, rcpt_tos):
|
if should_ignore(mail_from, rcpt_tos):
|
||||||
LOG.w("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)
|
||||||
|
|
Loading…
Reference in a new issue