hi 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. rajesh > > > Rajesh M-3 wrote: >> >> 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? > > -- > Tomas > -- > View this message in context: > http://old.nabble.com/password-complexity-squirrelmail-change-password-plugin-tp27488891p27492347.html > Sent from the squirrelmail-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ 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