Commit Graph

232 Commits (ff071e5120e6ce5ec5a0d6fbc5393d1ed6fd6465)

Author SHA1 Message Date
Lukas Schreiner d96bf91a0d
Support of different default pass schemes + support of BLF-CRYPT (#3832)
* Introduce MAILCOW_PASS_SCHEME in order to support blowfish (cf. mailcow/mailcow-dockerized#1019)

* Furthermore added dovecot to support new environment varible for MAILCOW_PASS_SCHEME defaulted to SSHA256

* Revert changes regarding gitignore.

* Added fallback to SSHA256 if environment is not proper prepared.

* No fallback within management frontend, as it must match to other components.

* Unified and corrected alignment; implemented support of SSHA512

* Currently, password_hash of PHP is using by default bcrypt (BLF). As this might change later, we must ensure, that BLF is still used after PHP changes its default.

* Switched to BLF-CRYPT by default (even on update)

* Switched to BLF-CRYPT by default (even on update)

* Adding information in config generation / update with link to supported hash algorithm

* Bump sogo version to 1.92

* Fallback to BLF-CRYPT in case password scheme is not proper defined for Mailcow administration.
2020-11-15 20:22:35 +01:00
andryyy 4e337b308f
[Dovecot] Select action in quarantine script, use nobody to run imapsync cron 2020-11-06 12:23:02 +01:00
andryyy 6c697f3f3f
[Web, Quarantine] Allow to set the max score of a message up to which a quarantine notification will be sent 2020-10-27 21:34:02 +01:00
andryyy efc6f214d1 [Dovecot] Revert notification excludes (there are no blacklisted elements in quarantine anymore) 2020-10-23 20:24:25 +02:00
andryyy 5f8e13f596 [Dovecot] Allow to define static master user (not recommended) 2020-10-20 15:43:05 +02:00
andryyy 2df661a91e
[Dovecot] Move mail index to new volume 2020-09-23 11:20:00 +02:00
andryyy 386133b855 [Dovecot] Remove like from query
Signed-off-by: andryyy <andre.peters@debinux.de>
2020-09-20 22:30:03 +02:00
andryyy 4627331339
[Dovecot] Fix sieve with new protocol toggling implementation, fixes #3769 2020-09-19 19:15:06 +02:00
andryyy 09ec4fcd81
[Dovecot] For future use: pass used protocol; Check if user has protocol access while authenticating 2020-09-17 19:46:28 +02:00
andryyy 97ee4b70ca
[Various] Always use lowercase for COMPOSE_PROJECT_NAME 2020-08-27 20:41:45 +02:00
andryyy c85ce6f2c2
[Dovecot] Update to 2.3.11.3 2020-08-13 10:45:13 +02:00
andryyy 09ad2b1314
[Dovecot] Filter by compose project name, create trusted map for SOGo IP, run DNS check before starting service 2020-07-11 13:22:48 +02:00
andryyy 6c92688ff6
[Quarantine] Allow to redirect all quarantine messages to a specific address
[Web] Minor changes to quarantine UI
2020-07-04 19:31:44 +02:00
andryyy 706a854e6f
[Dovecot] Specify Dovecot version in case of errors with new versions 2020-06-07 22:50:24 +02:00
andryyy ddf1c81bc5
[Dovecot] Specify Dovecot version in case of errors with new versions 2020-06-07 22:47:46 +02:00
andryyy 83e783a9d7
[Dovecot] Specify Dovecot version in case of errors with new versions 2020-06-07 22:43:35 +02:00
Jan Malte Gerth 15254fc48f
[Dovecot] Quarantine: add increment of count to prevent infinity loop (#3591)
fix #3590
might even prevent memory error in #2545
2020-06-04 11:37:43 +02:00
andryyy bdbb0c34be
[Dovecot] Fix invalid rcpt when no bcc is set, fixes #3576 2020-05-26 20:03:40 +02:00
andryyy 9078031255
[Dovecot] WIP: Read env vars for cronjobs from prepared file 2020-05-04 07:49:30 +02:00
andryyy 85a69a580e
[Dovecot] Implement disallowed logins 2020-04-29 10:58:47 +02:00
Richard Lea c6e6d3e8ee
[Dovecot] fix error redirection at doveconf (#3500) 2020-04-23 09:35:22 +02:00
Michael 37b0bfdac6
Don't delete folder which are not created... (#3484)
... in the script. And changed the order to be consistent.
2020-04-18 22:26:52 +02:00
andryyy 56e4963423
[Dovecot] Set repl health on start 2020-04-14 17:32:15 +02:00
Kristian Feldsam fe19bb7d94
Quarantine notifications - exclude blacklisted sender (#3446)
Final version, fixed syntax

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
2020-04-14 13:41:47 +02:00
andryyy 5944595be3
[Watchdog] Watch replication, if any (unsupported) 2020-04-14 12:48:57 +02:00
andryyy 858f0d686d
[Dovecot] Syslog-ng match fixes 2020-03-28 19:50:54 +01:00
andryyy 6364f70a9e
[Dovecot] Fix var 2020-03-25 21:24:41 +01:00
andryyy 1fc18284ab
[Dovecot] Revert fd49958a00 2020-03-25 21:14:43 +01:00
Kristian Feldsam fd49958a00
Quarantine notifications - don't send if sender is blacklisted (#3428)
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
2020-03-24 15:51:03 +01:00
andryyy 632d1cabb3
[Dovecot] Fix imapsync_cron 2020-03-20 18:11:24 +01:00
andryyy c9aebd73cc
[Dovecot] Wait for versions table instead of failing and restarting 2020-03-08 16:51:30 +01:00
andryyy c785c8f700
[Dovecot] Show last mail (pop3, imap) login in web interface 2020-02-25 19:38:20 +01:00
andryyy 3d2962a12d
[Dovecot] LUA: Passdb: Reconnect to SQL if connection was lost 2020-02-20 17:48:57 +01:00
andryyy 701198b8f4
[Dovecot] Fix check to determine running imapsync procs, todo: more jobs at the same time 2020-02-12 08:32:58 +01:00
andryyy c8b9f2b36c
[Dovecot] Add auth_passdb_lookup to LUA, add default plugins for replicator, check if master, add node to GUID creation, use correct syslog-ng config if Redis write-master is not redis-mailcow, trim logs on Redis master 2020-02-05 10:56:44 +01:00
andryyy cf4baa00a6
[Dovecot] Fix quarantine bcc, use socket for LUA API 2020-01-29 10:30:06 +01:00
andryyy 2f818b7f84
[Dovecot] Set bcc in quarantine notify 2020-01-10 20:43:20 +01:00
Yohann Prigent 2f1520b991 fix new imapsync dependency (#3256)
thanks
2020-01-06 23:13:37 +01:00
Peter ef64b638eb Update imapsync to 1.977 (#3248) 2020-01-06 18:43:21 +01:00
andryyy 390cbc070b
[Dovecot] Remove CONTROL from shared namespace - thanks to @Keessaus 2019-12-25 10:34:08 +01:00
andryyy b8ed434ecd
[Dovecot] Delete ham/spam hash if previously learned; Change LUA script pathes 2019-12-06 10:20:06 +01:00
andryyy b7a749208d
[Dovecot] Really strange race condition when reading an untouched LUA file on slower systems 2019-12-05 10:14:41 +01:00
andryyy 4715245697
[Dovecot] Drop logs 2019-12-05 09:30:53 +01:00
andryyy 13ef9dd113
[Dovecot] Fix lua error when trying to escape empty domains 2019-12-04 21:47:25 +01:00
andryyy afb43c9c5b
[Dovecot] Fix app passwds: allow multiple pass hashes by using LUA construct 2019-12-03 18:50:45 +01:00
andryyy dfbf3e85be
[Dovecot] Add map for app passwds 2019-12-02 10:53:25 +01:00
Zekeriya Akgül 9ccbeb7f66 Added control for attrs_json object item's type (#3126)
item can be bytes or str in different situations. So let's keep defensive.
2019-11-09 10:01:43 +01:00
andryyy d0788372fe
[Dovecot] Retry sa-rules download (1, 2, 4, 8, 16 ... seconds) 2019-11-02 12:03:41 +01:00
andryyy 7f8b13434d
[Rspamd, Dovecot] Do not use Schaal rules - probably too much for Rspamd 2.x to handle, mem leak? 2019-10-31 20:43:07 +01:00
andryyy 2f3f70dd00
[Dovecot] sa-rules: escape non-regex in regex 2019-10-30 14:39:25 +01:00