I think you've been asked in the past to stop top-posting. Please STOP. READ the mailing list posting guidelines before you post again. >>> hi >>> >>> for those who wish to ensure password complexity in squirrelmail. >>> >>> pl edit options.php file which is within the plugin change_pass folder >>> >>> it works in my system, but pl check from your side before using the same >>> >>> i am not a programmer but i implemented this with a bit of googling and >>> some searching here and there >>> >>> >>> ##################### >>> >>> if ($cp_oldpass == '') { >>> $messages[] = _("PASSWORD NOT CHANGED. You must type in your old >>> password."); >>> } >>> if ($cp_newpass == '') { >>> $messages[] = _("PASSWORD NOT CHANGED. You must type in a new >>> password."); >>> } >>> if ($cp_verify == '') { >>> $messages[] = _("PASSWORD NOT CHANGED. You must also type in >>> your >>> new >>> password in the verify box."); >>> } >>> if ($cp_newpass != '' && ($cp_verify != $cp_newpass)) { >>> $messages[] = _("PASSWORD NOT CHANGED. New Password doesn't >>> match >>> the Verify New Password."); >>> } >>> >>> >>> if (strlen ($cp_newpass ) < 8 ) { >>> $messages[] = _("PASSWORD NOT CHANGED. Your Password must >>> contain >>> atleast 8 >>> characters."); >>> } >>> >>> if (strlen ($cp_newpass ) > 15 ) { >>> $messages[] = _("PASSWORD NOT CHANGED. Your Password must >>> contain >>> less than 15 >>> characters."); >>> } >>> >>> >>> if (strcspn($cp_newpass , '0123456789') == strlen($cp_newpass) ) { >>> $messages[] = _("PASSWORD NOT CHANGED. Your Password must contain >>> atleast one number."); >>> } >>> >>> >>> if (strcspn($cp_newpass , 'abcdefghijklmnopqrstuvwxyz') == >>> strlen($cp_newpass) ) { >>> $messages[] = _("PASSWORD NOT CHANGED. Your Password must contain >>> atleast one >>> small (lower-case) alphabet."); >>> } >>> >>> if (strcspn($cp_newpass , 'ABCDEFGHIJKLMNOPQRSTUVWXYZ') == >>> strlen($cp_newpass) ) { >>> $messages[] = _("PASSWORD NOT CHANGED. Your Password must contain >>> atleast one >>> capital (upper-case) alphabet."); >>> } >>> >>> >>> if ($cp_oldpass != '' && ($cp_oldpass != $password)) { >>> $messages[] = _("PASSWORD NOT CHANGED. Your old password is not >>> correct."); >>> } >>> >>> if ($cp_newpass != '' && ($cp_newpass == $password)) { >>> $messages[] = _("PASSWORD NOT CHANGED. Your new password is same >>> as old password."); >>> } >>> >> Are you sure that you can't set these restrictions in poppassd? > > i am not aware about how the same can be implemented in poppassd > > however such modifications in the options.php > > i felt it is very easy -- most people are familiar with php > i can customize this on a per domain basis provide each customer what > complexity level he needs by having seperate squirrelmail folders for each > domain. Then you have to manage and upgrade multiple installations, which is a waste of time, when you can simply use the Login Manager plugin to serve SquirrelMail to multiple domains from a single installation (yes, with different functionalities if needed). -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users