Block keywords in email passwords
This topic describes what a weak password blacklist is and how to configure it.
Weak password blacklist
The weak password blacklist prevents users from including specified keywords in their email passwords. You can add up to 500 keywords to this list.
Plain keyword: If you add a plain keyword, the system prevents users from setting an email password that contains it. This check occurs when a user changes their own password or when an administrator sets one from the domain admin console. The system rejects the password and provides a reason.
Regular expression: If you add a regular expression, the system prevents users from setting an email password that matches the pattern. This check occurs when a user changes their own password or when an administrator sets one from the domain admin console. The system rejects the password and provides a reason.

If a user's current password matches an entry on the weak password blacklist when they log in, they must change their password.
Procedure
Log in to the domain admin console with an administrator account. Go to Security > Account Security > Password Policy > Weak Password Blacklist. Click Add to Blacklist, enter your keywords, and then click Confirm. You have two options for adding keywords: plain keyword and regular expression.
Plain keyword: Enter the keywords to prohibit. Place each keyword on a new line. The check is case-insensitive.

Regular expression: Enter the regular expression patterns to prohibit. Place each pattern on a new line. The check is case-insensitive.

The new password must meet the following format requirements or the reset will fail.
Password requirements: 8–64 characters, combining at least three of: uppercase letters, lowercase letters, numbers, and special characters. The password cannot contain the email account name, and it must also pass the backend password strength check.
Examples:
Regular expression | Description | Effect |
.{1,8} | Password is less than 9 characters long. Example: 123ABc1# | Password must be 9 or more characters long. (Recommended) |
.*mail.* | Contains "mail". Example: BAHmail123# | Password cannot contain the keyword "mail". (Recommended) |
([0-9]+[a-zA-Z]+) | Matches a string of one or more numbers followed by one or more letters. Example: 123abcAasd | Not recommended |
^[a-zA-Z0-9]+$ | Contains no special characters. Example: as3DF13412 | Password must contain a special character. |
^[^0-9]+$ | Contains no numbers. Example: asdADGG# | Password must contain a number. |
1. The examples above explain what each regular expression matches. Adding an expression to the blacklist prohibits passwords that match its pattern.
2. This feature is case-insensitive, and character set restrictions in expressions are not supported. The feature is primarily designed to block specific keywords.
3. The backslash character (\) is not permitted in regular expressions.