email-bounce-parser 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/parser.js +3 -2
  2. package/package.json +1 -1
package/lib/parser.js CHANGED
@@ -78,8 +78,9 @@ var REGEXES = {
78
78
  spam : /(spam)/i,
79
79
 
80
80
  enhanced_types_no_such_recipient : [
81
- /((?:invalid mailbox))/i,
82
- /((?:do(e)?sn\'t exist))/i, // Some Chinese SMTP return "dosn't" instead of "doesn't"
81
+ /(?:recipient address rejected: access denied)/i, // Outlook DBEB for invalid addresses
82
+ /(?:invalid mailbox)/i,
83
+ /(?:do(e)?sn\'t exist)/i, // Some Chinese SMTP return "dosn't" instead of "doesn't"
83
84
  /(account|user|mailbox) (is )?(terminated|disabled|not found|unavailable|invalid)/i
84
85
  ],
85
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "email-bounce-parser",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Parses bounce emails and extract errors",
5
5
  "author": "Eliott Vincent <eliott@crisp.chat>",
6
6
  "main": "lib/index.js",