diff --git a/README.md b/README.md index b74ad20d..3645da83 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ We're migrating [old wiki documents](http://www.iredmail.org/wiki) to Markdown f * [Allow user to send email without authentication](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/allow.user.to.send.email.without.authentication.md) * [Force mail user to change password in 90 days](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/force.user.to.change.password.md) * [Ignore Trash folder in mailbox quota](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/ignore.trash.folder.in.quota.md) +* [iRedAdmin-Pro: Default password restrictions](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/iredadmin-pro.default.password.policy.md) * [LDAP: Add an alias domain](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/ldap.add.alias.domain.md) * [LDAP: Add a mail alias account](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/ldap.add.mail.alias.md) * [LDAP: Add a mail list account](https://bitbucket.org/zhb/docs.iredmail.org/src/default/howto/ldap.add.mail.list.md) diff --git a/TODO.md b/TODO.md index b0235b84..6e1ba119 100644 --- a/TODO.md +++ b/TODO.md @@ -30,15 +30,8 @@ * ~~ http://www.iredmail.org/wiki/index.php?title=Integration/Active.Directory.iRedMail ~~ -# New - -* ~~Use same DKIM PEM file for all mail domains.~~ -* ~~ How to sign DKIM signature on sent emails for new mail domain. mention how - to use one DKIM key for all domains. ~~ - # wiki FAQ -* http://www.iredmail.org/wiki/index.php?title=Addition/MySQL/Catch-all * http://www.iredmail.org/wiki/index.php?title=IRedAdmin-Pro/FAQ/change.default.password.policy * http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Backup * http://www.iredmail.org/forum/topic1968-enabling-ipv6-for-your-iredmail-postfixdovecot.html @@ -56,11 +49,16 @@ # Howto +* ~~Use same DKIM PEM file for all mail domains.~~ +* ~~ How to sign DKIM signature on sent emails for new mail domain. mention how + to use one DKIM key for all domains. ~~ + * ~~ http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Reset.password.for.mail.user ~~ * ~~http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/LDAP/Monitor.Incoming.and.Outgoing.Mails.with.BCC~~ * ~~http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/LDAP/Turn.On.Debug.Mode.In.OpenLDAP~~ * ~~ http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Quarantining.Clean.Mail ~~ * ~~ http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Quarantining.SPAM ~~ +* ~~ http://www.iredmail.org/wiki/index.php?title=Addition/MySQL/Catch-all ~~ # Migration diff --git a/howto/iredadmin-pro.default.password.policy.md b/howto/iredadmin-pro.default.password.policy.md new file mode 100644 index 00000000..60c01d63 --- /dev/null +++ b/howto/iredadmin-pro.default.password.policy.md @@ -0,0 +1,26 @@ +# iRedAdmin-Pro: Default password restrictions + +iRedAdmin-Pro has some default password restrictions, you can find default +settings in file `libs/default_settings.py`. If you want to change them, please +copy the parameters to iRedAdmin-Pro config file `settings.py` then update its +value. Restarting Apache/Nginx web service is required. + +``` +# default password restriction setting in file: libs/default_settings.py + +# Special characters which can be used in password. +PASSWORD_SPECIAL_CHARACTERS = """#$%&'"*+-,.:;!<=>?@[]/\(){}^_`~""" + +# Must contain at least one letter, one uppercase letter, one number, one special character +PASSWORD_HAS_LETTER = True +PASSWORD_HAS_UPPERCASE = True +PASSWORD_HAS_NUMBER = True +PASSWORD_HAS_SPECIAL_CHAR = True +``` + +For example, if you don't want to enforce upper case in password, set below +parameter in iRedAdmin-Pro config file `settings.py`: + +``` +PASSWORD_HAS_UPPERCASE = False +``` diff --git a/html/index.html b/html/index.html index 21443be4..5a3ffb79 100644 --- a/html/index.html +++ b/html/index.html @@ -36,6 +36,7 @@
  • Allow user to send email without authentication
  • Force mail user to change password in 90 days
  • Ignore Trash folder in mailbox quota
  • +
  • iRedAdmin-Pro: Default password restrictions
  • LDAP: Add an alias domain
  • LDAP: Add a mail alias account
  • LDAP: Add a mail list account
  • diff --git a/html/iredadmin-pro.default.password.policy.html b/html/iredadmin-pro.default.password.policy.html new file mode 100644 index 00000000..b3b2c01c --- /dev/null +++ b/html/iredadmin-pro.default.password.policy.html @@ -0,0 +1,46 @@ + + + + iRedAdmin-Pro: Default password restrictions + + + + +

    iRedAdmin-Pro: Default password restrictions

    +

    iRedAdmin-Pro has some default password restrictions, you can find default +settings in file libs/default_settings.py. If you want to change them, please +copy the parameters to iRedAdmin-Pro config file settings.py then update its +value. Restarting Apache/Nginx web service is required.

    +
    # default password restriction setting in file: libs/default_settings.py
    +
    +# Special characters which can be used in password.
    +PASSWORD_SPECIAL_CHARACTERS = """#$%&'"*+-,.:;!<=>?@[]/\(){}^_`~"""
    +
    +# Must contain at least one letter, one uppercase letter, one number, one special character
    +PASSWORD_HAS_LETTER = True
    +PASSWORD_HAS_UPPERCASE = True
    +PASSWORD_HAS_NUMBER = True
    +PASSWORD_HAS_SPECIAL_CHAR = True
    +
    + +

    For example, if you don't want to enforce upper case in password, set below +parameter in iRedAdmin-Pro config file settings.py:

    +
    PASSWORD_HAS_UPPERCASE = False
    +

    If you found something wrong +in this document, please do +contact us to fix it.

    This tutorial is published under a CC BY-ND 3.0 license. + + + \ No newline at end of file