fix
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user