You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(bounces): Use a normalized and aliased email to search bounces
Because:
- There is an edge case where aliased email look ups can return wrong
bounces
This Commit:
- Updates the bounce lookup to use a fully normalized email, and an
aliased email with wildcard
Closes: FXA-12867
doc: 'List of email domain configurations for alias normalization. Each entry should have domain, regex, and replace properties. Example: [{domain: "mozilla.com", regex: "\\+[^@]+" }].',
619
+
doc: 'List of email domain configurations for alias normalization. Each entry should have domain, regex, and replace properties. The replace value is used for the root email (strip alias), and can be overridden with a wildcard pattern at runtime. Example: [{domain: "mozilla.com", regex: "\\+.*", replace: "" }].',
620
620
env: 'BOUNCES_EMAIL_ALIAS_NORMALIZATION',
621
621
format: String,
622
622
},
623
+
aliasCheckEnabled: {
624
+
doc: 'Flag to enable checking email bounces on normalized email aliases',
625
+
format: Boolean,
626
+
default: false,
627
+
env: 'BOUNCES_ALIAS_CHECK_ENABLED',
628
+
},
623
629
},
624
630
connectionTimeout: {
625
631
doc: 'Milliseconds to wait for the connection to establish (default is 2 minutes)',
0 commit comments