This commit is contained in:
Andreas Knuth 2025-12-20 16:14:46 -06:00
parent b8f66a8e8b
commit 05f4a38eb6
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def apply_bounce_logic(parsed, subject):
log("🔍 Detected SES MAILER-DAEMON bounce notification")
# 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:
log("⚠ Could not extract Message-ID from bounce notification")