New top-level domains don't work

Issue #24 resolved
James Gifford
created an issue

I recently acquired one of the new TLDs (.construction, .contractors, .directory, .kitchen, .land, .technology, .today, and a whole bunch of others), and when I try to set it up with iRedMail, it complains that it's not a valid domain. Where are these defined?

Comments (3)

  1. Zhang Huangbin repo owner

    Did you try to create new domain with iRedAdmin open source edition or iRedAdmin-Pro?

    With iRedAdmin open source edition, please update below parameters in libs/

    # Email.
    reEmail = r'''[\w\-][\w\-\.]*@[\w\-][\w\-\.]+[a-zA-Z]{2,6}'''
    # Domain.
    reDomain = r'''[\w\-][\w\-\.]*\.[a-z]{2,6}'''

    Increase '6' to the length of last part of your domain name. e.g. .com, .net.

    In iRedAdmin-Pro, please update below two parameters in libs/

    regx_email =
    regx_domain =
  2. Log in to comment