Base de Conhecimento
Publicado Jun. 25, 2030

Cannot create users with root@ or postmaster@ email addresses

written-by

Rafael Regner

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Issue

  • Liferay does not allow registering a user with a root@ or postmaster@ email address, such as root@acme.com. The UI displays the following error:

    Error: Please enter a valid email address.
    

Environment

  • Liferay DXP 7.0+

Resolution

  • postmaster and root are reserved keywords in the default email address policy and cannot be used at the start of an email address. This check is hard-coded in the default DefaultEmailAddressValidator. 

Additional Information

did-this-article-resolve-your-issue

Base de Conhecimento