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
The following email addresses all point to the same mailbox:
example@gmail.com
example@googlemail.com
example+extra@gmail.com
exam.ple@gmail.com
There are use cases for "normalising" email addresses to confirm two different strings point to the same mailbox (see hasgeek/lastuser#221 for example). mxsniff should provide a normalisation function that:
Lowercases the domain portion. (The mailbox portion's case must be preserved as per RFC 5321. Lowercasing it for the purpose of indexing should be a downstream concern.)
Strips + suffixes from the mailbox portion.
A custom normalisation function for the google-gmail provider does additional processing:
Replaces @googlemail.com with @gmail.com
Strips . (periods) from the address
mxsniff will default to the standard normalisation function if a provider doesn't specify a custom function. Combined with #5, this can be used to normalise an email address without a DNS lookup, using just the domain to guess.
The text was updated successfully, but these errors were encountered:
jace
changed the title
Provide a normalisation function to match email address
Provide a normalisation function to match email addresses
Oct 12, 2017
The following email addresses all point to the same mailbox:
example@gmail.com
example@googlemail.com
example+extra@gmail.com
exam.ple@gmail.com
There are use cases for "normalising" email addresses to confirm two different strings point to the same mailbox (see hasgeek/lastuser#221 for example). mxsniff should provide a normalisation function that:
+
suffixes from the mailbox portion.A custom normalisation function for the
google-gmail
provider does additional processing:@googlemail.com
with@gmail.com
.
(periods) from the addressmxsniff will default to the standard normalisation function if a provider doesn't specify a custom function. Combined with #5, this can be used to normalise an email address without a DNS lookup, using just the domain to guess.
The text was updated successfully, but these errors were encountered: