Mailcow-dockerized: Changeable Password Policy

Created on 9 Jan 2019  路  3Comments  路  Source: mailcow/mailcow-dockerized

Is your feature request related to a problem? Please describe.
I can't use password that consists of lowercase letters separated by hyphens (e.g. word-word-word-word) because it's missing a number, which is required by the current password policy.

Those kind of passwords are easy to remind while maintaining a high entropy. An example password that matches the above mentioned pattern could have an entropy of around 128 bit while a password that matches the current mailcow password policy (6 chars, letters and at least one number) wouldn't have a quarter of that entropy.

What I want to make clear is that the current (unchangeable) password policy denies a password of mine that has a high entropy just because there is no number in it and allows me to use a password that is way less secure just because I typed 6 chars including a number.

Describe the solution you'd like
I would like to change or disable the password policy check. A possibility would be a field where I can specify the min. length of a password and some checkboxes were I can require the user to

  • use at least a number
  • use at least a special character
  • use at least a lowercase letter
  • use at least an uppercase letter

That way the password policy would be modifiable and could comply with any kind of password requirement policy.

Most helpful comment

It was like this before, I also think we should revert this.

I just changed it back (not in the repo yet). :)

All 3 comments

PS: Okay I just learned about the vars.local.inc.php. But maybe it would be a good idea to comply with NIST policy concerning passwords by default. So e.g. removing the enforced regex or at least reduce it to a length of 8 chars.

It was like this before, I also think we should revert this.

I just changed it back (not in the repo yet). :)

Just for reference:
https://xkcd.com/936/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GalacticLion7 picture GalacticLion7  路  3Comments

starcraft0429 picture starcraft0429  路  3Comments

poldixd picture poldixd  路  3Comments

schoebelh picture schoebelh  路  3Comments

a3li picture a3li  路  3Comments