Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E-mail address canonicalization additions #761

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Feb 18, 2021

  1. nickserv/canonmail: new module

    This module originated as a way to test email canonicalization during
    development, but it may also be helpful to services operators to test
    their canonicalizer configuration, especially if custom modules are used
    that may do non-obvious modifications to the given email.
    ilbelkyr committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    af15bce View commit details
    Browse the repository at this point in the history
  2. misc/canon_domains: new email canonicalizer module

    This module is mainly intended to handle email providers with multiple
    interchangable domains serving the same users on each.
    
    For now this is rather simplistic, requiring mappings to be defined in
    the configuration file and not supporting wildcards or anything fancier
    than "treat these domains as the same".
    
    All domains of a given provider will be mapped to the shortest domain to
    avoid having to handle the case of extending the length of an email
    address, possibly exceeding EMAILLEN.
    
    (Do note that nickserv/badmail currently does not interface with email
    canonicalization and domains need to be added to that list separately
    if they are to be denied.)
    ilbelkyr committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    8abbbda View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4199264 View commit details
    Browse the repository at this point in the history