
The example below restricts, ", &, !, ? characters and spaces:Īfter making your changes and saving the staticConfig.xml file, restart the Mail Express Server Service. For example, to specify the ampersand (&), you would use & but for a space, you can just specify an empty space. Values must use any XML predefined entities for double quotation, ampersand, apostrophe, less-than and greater-than.
Locate the following section in the staticConfig.xml file:Įnter values to be restricted between the and lines.It will be saved as Copy of staticConfig.xml.
For backup purposes, make a copy of staticConfig.xml file and then paste it in the same directory. That would be the usernames from Moodles point of view. You can create synthentic usernames johnldap1 and johnldap2. E.g., say you have username john in both ldap1 and ldap2 LDAP plugins. To replace edit the user name validation configuration For example, the name of the LDAP plugin ldap, ldap2, etc) with some 'separating character(s)'. When values are defined within the configuration file, user names with any of the specified characters present will be immediate rejected. By default, the validation allows all valid LDAP characters (per RFCs 22). The user name validation configuration parameter is located in the staticConfig.xml file, located in the Mail Express installation directory (e.g., C:\Program Files\Globalscape\Mail Express\webapps\ROOT\WEB-INF\classes\META-INF). Removing/Changing Mail Express Email Validation This document will provide guidance for using LDAP user name validation configuration feature available in Mail Express 4.0.2. THE INFORMATION IN THIS ARTICLE APPLIES TO: