fix
This commit is contained in:
parent
b8f66a8e8b
commit
05f4a38eb6
|
|
@ -96,7 +96,7 @@ def apply_bounce_logic(parsed, subject):
|
||||||
log("🔍 Detected SES MAILER-DAEMON bounce notification")
|
log("🔍 Detected SES MAILER-DAEMON bounce notification")
|
||||||
|
|
||||||
# Message-ID aus Header extrahieren
|
# Message-ID aus Header extrahieren
|
||||||
message_id = (parsed.get('Message-ID') or '').strip('<>')
|
message_id = (parsed.get('Message-ID') or '').strip('<>').split('@')[0]
|
||||||
|
|
||||||
if not message_id:
|
if not message_id:
|
||||||
log("⚠ Could not extract Message-ID from bounce notification")
|
log("⚠ Could not extract Message-ID from bounce notification")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue