mailcow/data/web/inc
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
..
ajax [Web] Fix duplicate file extension on shortened filenames 2020-12-29 15:20:46 +01:00
lib [Web] Fix U2F file 2021-01-04 16:48:07 +01:00
presets [Rspamd] Handle Postmaster in and outbound as trusted 2020-10-25 10:34:13 +01:00
footer.inc.php [Web] FIDO2: Print thrown error in verification failure, if any 2020-11-16 08:55:48 +01:00
functions.acl.inc.php [Web] Remove External as standard subfolder for sync jobs 2020-04-19 14:41:55 +02:00
functions.address_rewriting.inc.php [Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int) 2020-09-17 19:49:15 +02:00
functions.admin.inc.php [Web] Different UV flag for auth and register, remove unique key from fido2, delete tfa/fido2 when removing user object 2020-11-16 15:01:02 +01:00
functions.app_passwd.inc.php [Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int) 2020-09-17 19:49:15 +02:00
functions.customize.inc.php [Web] Allow ratelimit time frame "day"; Allow to create announcements 2020-05-11 11:52:02 +02:00
functions.dkim.inc.php [Web] Allow to overwrite DKIM keys while importing a new key 2020-09-26 22:01:15 +02:00
functions.docker.inc.php [Web] More secure compose project name check 2020-07-11 13:32:40 +02:00
functions.domain_admin.inc.php [Web] Different UV flag for auth and register, remove unique key from fido2, delete tfa/fido2 when removing user object 2020-11-16 15:01:02 +01:00
functions.fail2ban.inc.php [Web] Compatibility: Re-add _int vars 2020-09-26 22:02:34 +02:00
functions.fwdhost.inc.php
functions.inc.php [Web] Implement all supported dovecot password schemas (#3974) 2021-02-11 09:31:53 +01:00
functions.mailbox.inc.php [Web] Implement all supported dovecot password schemas (#3974) 2021-02-11 09:31:53 +01:00
functions.mailq.inc.php [Web] Return json array when mailq empty, fixes #3738 2020-09-06 11:59:36 +02:00
functions.oauth2.inc.php [Web] Do not allow to add domain admin for non existing domain 2019-10-02 19:00:36 +02:00
functions.policy.inc.php [Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !) 2019-02-05 00:10:21 +01:00
functions.presets.inc.php [Web] Clean PHP code by removing unused variables (#3646) 2020-07-11 13:20:38 +02:00
functions.pushover.inc.php [Web] Clean PHP code by removing unused variables (#3646) 2020-07-11 13:20:38 +02:00
functions.quarantine.inc.php [Web] Fix order of fuzzy del and fuzzy add when learning from quarantine, fixes #3844 2020-11-07 21:46:39 +01:00
functions.quota_notification.inc.php [Web] Clean PHP code by removing unused variables (#3646) 2020-07-11 13:20:38 +02:00
functions.ratelimit.inc.php [Web] Clean PHP code by removing unused variables (#3646) 2020-07-11 13:20:38 +02:00
functions.rspamd.inc.php [Web] Cleanup Rspamd, other fixes 2020-11-25 16:10:33 +01:00
functions.tls_policy_maps.inc.php [Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int) 2020-09-17 19:49:15 +02:00
functions.transports.inc.php [SOGo, Dovecot] Remove unnecessary likes from sql queries 2020-09-20 22:21:00 +02:00
header.inc.php [Web] Add smtp and header from to quarantine items, add more info to qhandler, allow to open qhandler links from qitem details 2020-06-06 13:25:32 +02:00
init_db.inc.php [Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL 2020-11-28 17:41:48 +01:00
prerequisites.inc.php [Web] Cleanup Rspamd, other fixes 2020-11-25 16:10:33 +01:00
sessions.inc.php [Web] Allow CIDR as allowed API networks; other minor fixes 2020-05-04 07:51:50 +02:00
spf.inc.php [Web] Do not expand IPv6 as found by SPF lookup 2020-10-10 10:57:06 +02:00
triggers.inc.php [Web] Feature (beta): Add WebAuthn support for administrators and domain administrators 2020-11-15 19:32:37 +01:00
vars.inc.php [Web] Korean translation (#3885) 2020-12-03 22:35:28 +01:00