Control Web Panel

WebPanel => E-Mail => Topic started by: mabdala68 on May 06, 2025, 01:30:13 AM

Title: How to enforce strong passwords when creating email accounts in CWP
Post by: mabdala68 on May 06, 2025, 01:30:13 AM
Hello community,

I’m using a server with CentOS Web Panel (CWP) and I would like to know how to enforce strong password policies when creating email accounts (e.g., at least 12 characters, including uppercase, lowercase, numbers, and special characters).

I’ve seen references to a file called `mail_add.php` in older guides, but I can’t find it in my current installation. I’ve checked the directories `/usr/local/cwpsrv/htdocs/admin/` and `/usr/local/cwpsrv/var/services/users/`, but I couldn’t locate the script where password validation is handled during email account creation.

Is there an official or recommended way to implement strong password requirements for email creation in the user or root panel?

Thanks in advance for any guidance.