change logging for icloud bounce case
This commit is contained in:
parent
43a6c87fd6
commit
9aeceb9119
|
@ -2367,10 +2367,10 @@ def handle(envelope: Envelope, msg: Message) -> str:
|
||||||
email_log = EmailLog.get(email_log_id)
|
email_log = EmailLog.get(email_log_id)
|
||||||
alias = Alias.get_by(email=rcpt_tos[0])
|
alias = Alias.get_by(email=rcpt_tos[0])
|
||||||
LOG.w(
|
LOG.w(
|
||||||
"iCloud bounces %s %s msg=%s",
|
"iCloud bounces %s %s, saved to%s",
|
||||||
email_log,
|
email_log,
|
||||||
alias,
|
alias,
|
||||||
msg.as_string(),
|
save_email_for_debugging(msg, file_name_prefix="icloud_bounce_"),
|
||||||
)
|
)
|
||||||
return handle_bounce(envelope, email_log, msg)
|
return handle_bounce(envelope, email_log, msg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue