Hello,
is there a way to increase the minimum password length from 8 to 12?
It would be nice to have TOTP or another 2FA within the App.
Is there a way to change the from address in system emails and set a reply-to address? At the moment password reset emails are send from "webmaster@localhost". (https://docs.mayan-edms.com/chapters/se ... email_host)
Thanks for a short reply.
Password policy and System mail from field
-
- Posts: 4
- Joined: Sat Sep 14, 2019 10:57 am
Re: Password policy and System mail from field
Hi Holzhannes.
2FA is definitely on our radar. I can't give any estimated time frame/version commitment but it is on the roadmap.
In terms of the system mailer (not mailing profiles), this can be set using the setting DEFAULT_FROM_EMAIL either in your config.yml file or in system > settings > django > DEFAULT_FROM_EMAIL
Easy to miss as all the other settings start with EMAIL
- So set that in your config.yml or as an environment variable if you're using docker (MAYAN_DEFAULT_FROM_EMAIL) and you're good to go. You can set it in the web-ui and then restart mayan afterwards.
It is not possible to set a different reply-to email than the from email for the system mailer or mailing profile. It will use the "from" field as the reply field once you set that.
2FA is definitely on our radar. I can't give any estimated time frame/version commitment but it is on the roadmap.
In terms of the system mailer (not mailing profiles), this can be set using the setting DEFAULT_FROM_EMAIL either in your config.yml file or in system > settings > django > DEFAULT_FROM_EMAIL
Easy to miss as all the other settings start with EMAIL

It is not possible to set a different reply-to email than the from email for the system mailer or mailing profile. It will use the "from" field as the reply field once you set that.
Please bear with us during the current global situation. The team all have families and local communities to look after as well as the community here. Responses may be delayed during this time, but rest assured we will get to your query eventually.
Re: Password policy and System mail from field
Hi Holzhannes,
The password validation can be configure by changing the AUTH_PASSWORD_VALIDATORS (https://docs.djangoproject.com/en/2.2/t ... validation) settings entry. This setting is found under the "Django" namespace.
The password validation can be configure by changing the AUTH_PASSWORD_VALIDATORS (https://docs.djangoproject.com/en/2.2/t ... validation) settings entry. This setting is found under the "Django" namespace.