NL bounces: add new failure hints
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sun, 16 Nov 2014 14:12:33 +0000 (15:12 +0100)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sun, 16 Nov 2014 14:18:48 +0000 (15:18 +0100)
bin/newsletter.bounces.processor.py

index 3aaa660..8933349 100755 (executable)
@@ -351,6 +351,7 @@ def findAddressInPlainBounce(bounce, real_bounce=None):
         "I'm sorry to have to inform you that your message could not",
         "I wasn't able to deliver your message",
         "try to send your message again at a later time",
+        "User unknown in local recipient table",
         "> was undeliverable.",
         "we were unable to deliver your message",
     ]
@@ -365,7 +366,9 @@ def findAddressInPlainBounce(bounce, real_bounce=None):
     permanent_error_hints = [
         "Delivery to the following recipient failed permanently",
         "failed due to an unavailable mailbox",
+        "following addresses had permanent fatal errors",
         "I'm sorry to have to inform you that your message could not",
+        "The email account that you tried to reach does not exist",
         "This is a permanent error",
         "Unknown address error",
         "unreachable for too long",