mailcow/data
Felix Kaechele 31805f1656
[Web] Implement all supported dovecot password schemas (#3974)
When migrating from other Dovecot based installations it can be very
convenient to just copy over existing hashed passwords.
However, mailcow currently only supports a limited number of password
schemes.

This commit implements all password schemes that do not require
challenge/response or OTP mechanisms.

A convenient way to generate the regex with all supported schemas is
`docker-compose exec dovecot-mailcow doveadm pw -l | awk -F' ' '{printf
"/^{("; for(i=1;i<=NF-1;i++){printf "%s%s", sep, $i; sep="|"}; printf
")}/i\n"}'`

Note that this will also include unsupported challenge/response and OTP
schemas.

Furthermore this increases the vsz_limit for the dovecot auth service to
2G for the use of ARGON2I and ARGON2ID schemas.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2021-02-11 09:31:53 +01:00
..
Dockerfiles [Dovecot] Check if quarantine_notify.py holds a lock 2021-01-28 15:48:59 +01:00
assets [Assets] Update quarantine template (please review and update in case of modifications) 2020-11-06 12:26:48 +01:00
conf [Web] Implement all supported dovecot password schemas (#3974) 2021-02-11 09:31:53 +01:00
hooks Remove test hook 2019-10-18 12:03:44 +02:00
web [Web] Implement all supported dovecot password schemas (#3974) 2021-02-11 09:31:53 +01:00