Commit Graph

289 Commits

Author SHA1 Message Date
andryyy
a02425dbf5
[Dovecot] Remove Schaal, remove non-numeric TXT output from dig request 2021-03-26 11:24:39 +01:00
andryyy
84ba784550
[Dovecot] Set --addheader by default, fixes #4025 2021-03-11 19:21:50 +01:00
andryyy
c39792c1a5
[Dovecot] Update image to 2.3.14 2021-03-04 16:13:27 +01:00
andryyy
410cb558ee
[Dovecot] Check if quarantine_notify.py holds a lock
[SOGo] Change default theme
2021-01-28 15:48:59 +01:00
andryyy
5ea0caa261
[Dovecot] Update Dovecot to 2.3.13 2021-01-04 16:36:33 +01:00
andryyy
16f87f07fa
[Dovecot] Replace hostname for quarantine notifications with mailcow hostname (broke after Docker 20.10 fix) 2020-12-11 10:05:05 +01:00
andryyy
ba20db2e08
[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL 2020-11-28 17:41:48 +01:00
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
André Peters
5d93ae655a
Merge pull request #2509 from mhofer117/tls-sni
Different SSL Certificate for each Domain with TLS SNI
2019-10-20 15:17:14 +02:00
andryyy
d35e3c1eff
[Dovecot] Fix Dovecot quarantine notification script 2019-10-19 22:58:11 +02:00
Marcel Hofer
2e35da6816 [SSL] create individual domain certificates, add SNI configs for Postfix/Dovecot/Nginx 2019-10-19 12:48:56 +02:00
andryyy
b0711db489
[Dockerfiles] Rename some files and create hook points 2019-10-18 12:01:47 +02:00
andryyy
0089f72f3d
[Watchdog] Fix for Rspamd 2.0 2019-10-12 13:15:36 +02:00
Zekeriya Akgül
d62ec4498a
Removed unnecessary print 2019-09-15 10:36:01 +03:00
zekeriya
96042bdab8 [Dovecot] removed non-ascii chars from 'from' field before send 2019-09-14 21:48:13 +03:00
zekeriya
adbecef56f [Dovecot] Fixed variable names for DB connection. 2019-09-14 21:07:18 +03:00
zekeriya
8af9b5b6d1 [Dovecot] Fixed quarantine_notify.py json decode error 2019-09-14 21:01:53 +03:00
zekeriya
b9e7d12a5e [Dovecot] notify scripts migrated to python3 2019-09-13 21:14:30 +03:00
André Peters
4aae447e97
Revert "Python27 eol issue2291" 2019-08-28 07:01:47 +02:00
André Peters
b56aa8c1de
Merge pull request #2863 from FaMux/python27EOL_issue2291
Python27 eol issue2291
2019-08-27 19:07:34 +02:00
andryyy
f35efbf39c
[Dovecot] Add new SA rules 2019-08-21 21:07:15 +02:00
farnbacher
50c272dbf6
fix wrong package name 2019-08-15 20:58:23 +02:00
farnbacher
a119467218
Install Python 3 packages for ported quota_notify.py & quarantine_notify.py 2019-08-15 20:36:32 +02:00
farnbacher
c579a2c01e
Update for usage with Python 3
- print with parantheses and .format
 - change shebang
 - change import of email modules
2019-08-15 20:32:20 +02:00
farnbacher
cf2e8d6545
Update for usage with Python 3
- print with parantheses and .format
- change import of email modules
- change shebang
2019-08-15 20:18:01 +02:00
andryyy
3488cb2171
[Dovecot] Fix GUID 2019-08-10 21:03:18 +02:00
andryyy
457d62e22e
[Dovecot] Generate GUID 2019-08-09 14:11:36 +02:00
andryyy
97c2fe9fe1
[Dovecot] Install from repository 2019-07-28 21:34:42 +02:00
andryyy
4532b5c882
[Dovecot] Remove default cronjobs 2019-07-22 21:07:39 +02:00
andryyy
9aad9d8e4e
[Dovecot] New Dovecot version 2019-07-21 13:08:00 +02:00
andryyy
b139e48eec
Add some hints to autogenerated files 2019-07-08 07:56:41 +02:00
andryyy
71c6c59f1c
[Dovecot] Fix cleanup of old quarantine items, fixes #2721 2019-06-22 23:12:23 +02:00
andryyy
de03e4178a
[Dovecot] Run cronjob at 4:15 AM to remove max aged quarantine items (default: 365 days) 2019-06-01 21:23:43 +02:00
andryyy
dcacf85a5d
[Dovecot] Rename sieve_after to global_sieve_after and create a global_sieve_before file 2019-06-01 13:53:24 +02:00
andryyy
395f0f7a3d
[Rspamd] Remove authenticated user from auth results header
[Dovecot] Fix permissions of console
[Compose] New Dovecot image
2019-05-29 18:02:14 +02:00
Thomas Sänger
e24ba8e2d8
fix typo that prevented trimming watchdog logs 2019-05-27 23:09:25 +02:00
andryyy
7d7ecbe591
[Dovecot] Removed quota recalc job (too intensive on larger systems) 2019-05-27 20:29:55 +02:00
andryyy
57d65535c9
[Dovecot] Trim watchdog logs 2019-05-25 10:29:17 +02:00
andryyy
922a8db7a5
[Dovecot] Auto-generate shared namespace 2019-05-18 23:01:05 +02:00
andryyy
389317e9e4
[Dovecot] Fix memory leak when quarantine sender has non-ascii chars in mail address 2019-05-16 19:44:14 +02:00
André Peters
6cf9a0354b
Trying to avoid non-distro packages 2019-05-05 22:30:11 +02:00
André Peters
081feca893
Replacing trim by function
https://perlmaven.com/trim
2019-05-05 22:28:55 +02:00
hunter-nl
4ebc871966
Added noreleasecheck parameter 2019-05-05 14:35:34 +02:00
hunter-nl
d6833d0b29
Add extra perl modules for imapsync 2019-05-05 13:24:12 +02:00
hunter-nl
54a039fbd1
Fix: Processing result of running imapsync command
There was a possibility the status is_running never set back to 0.
Also the unlock command could be executed twice.
2019-05-05 13:15:34 +02:00
hunter-nl
b7b532768c
Moved set "is_running" status
Moved set "is_running" status just before the actual execution of imapsync
2019-05-05 13:12:09 +02:00
hunter-nl
fbf356d522
Update imapsync script to 1.937 2019-05-05 13:09:17 +02:00
hunter-nl
d32f3e9d16
Fix processing imapsync custom parameters 2019-05-05 13:07:17 +02:00
andryyy
189ea89a71
[Dovecot] Revert to previous imapsync cron script 2019-05-04 23:08:43 +02:00
hunter-nl
e59417ed78
Update imapsync_cron.pl
Second unlocking lock_file failed because it was already unlocked.
2019-05-04 13:07:23 +02:00
hunter-nl
f9cd9927b1
Update imapsync_cron.pl
Moved setting "is_running" status to just before the actual execution of imapsync command.
2019-05-04 12:02:41 +02:00