Commit Graph

3676 Commits

Author SHA1 Message Date
andryyy
8e736ba9b0
[Web] Fix potential XSS in autodiscover-json.php 2021-09-07 18:58:05 +02:00
andryyy
80fc18c5b4
[Rspamd] Always include watchdog in no_stat and no_log flag symbol 2021-09-07 17:56:20 +02:00
andryyy
4d5ebafc1a
[Web] Fix password issue on first login when adding new admin 2021-09-06 11:46:09 +02:00
Sven Gottwald
bc7714b8f3
[ClamAV] Update to latest LTS release (#4262)
- ClamAV 0.103 is the first Long Term Support (LTS) feature release.
- LTS feature releases will be supported for at least three years from the initial publication date of that LTS feature version. In other words, support for the LTS release "X.Y" starts when version "X.Y.0" is published and ends three years after.
- Each LTS feature release will be supported with critical patch versions and access to download signatures for the duration of the three-year support period.
- A new LTS feature release will be identified approximately every two years.
- Users must stay up-to-date with the latest patch versions for continued support. As of Aug. 28, that means version 0.103.3.
- Source: https://blog.clamav.net/2021/09/changes-to-clamav-end-of-life-policy.html
2021-09-04 12:24:39 +02:00
Kristian Feldsam
0d53df3a4d
[Web] PHP8 fix, fixes #4259 (#4261)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-02 19:30:14 +02:00
andryyy
c4f70f39b5
[Rspamd] Wrong operator: AND should be OR 2021-09-02 14:14:39 +02:00
andryyy
43121b9287
[Rspamd] Properly cache Rspamd settings map, save a lot of resources 2021-09-02 14:09:50 +02:00
andryyy
bb2351ccf8
[Rspamd] Re-add bad subject maps (_not_ related to previous mem leaks) 2021-09-02 14:09:25 +02:00
andryyy
107c8ed229
[Watchdog] Workarond for issue with content buffering in Alpine and Nagios plugins 2021-09-01 18:57:56 +02:00
andryyy
e616755072
[Web] Fix app password editing, fixes #4239 2021-09-01 18:11:00 +02:00
andryyy
f12756511d
[Dovecot] Update to 2.3.16 2021-09-01 17:00:51 +02:00
andryyy
2b89ab919b [Rspamd] Remove IVM-SG script 2021-09-01 17:00:03 +02:00
Kristian Feldsam
c1dcb529f3
[Web] Add DKIM key when adding a domain or alias domain (#4254)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-01 16:51:10 +02:00
Kristian Feldsam
54c4d7e49c
[Dovecot: Imapsync] Parse, save and show last run status (#4253)
* [imapsync] - check for errors in returned_text

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

* [imapsync] parse and save exit status

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

* [dovecot] updated image version

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-01 16:29:11 +02:00
Kristian Feldsam
e3b58c6b80
[Web] Fido2 support for M1 Macs with Touch ID (#4255)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-01 16:28:37 +02:00
Kristian Feldsam
bdf601ff28
[Web] Cast docker info as array in debug.php (#4256)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-01 16:27:44 +02:00
andryyy
8ee997b1a3
[Rspamd] Base on bullseye; remove nullnull map to _perhaps_ prevent a memleak 2021-09-01 15:21:43 +02:00
andryyy
19dda55d96
[Alpine] Upgrade to 3.14 2021-08-30 21:01:09 +02:00
andryyy
50c90badb0
[Web] Cast all DNS check results to arrays 2021-08-21 15:47:17 +02:00
andryyy
7ab1405b00
[Web] Remove blocking user_details function request in bcc list for faster loading with many mailboxes 2021-08-19 20:27:59 +02:00
tunnelpr0
62fbaf8248
[Web, oAuth2] Add id parameter to profile.php (#4235)
Sending $token['user_id'] also as 'id' in the array
2021-08-19 19:56:22 +02:00
andryyy
913e9cbb11
[Web] Fix transport validation 2021-08-17 22:07:06 +02:00
andryyy
82f4f1fd15
[Postfix] Lookup credentials for user-specific sender transports 2021-08-17 16:51:06 +02:00
andryyy
649a5c0159
[Rspamd] More generous timeout but no retransmit allowed for oletools: prevent further timeouts 2021-08-16 10:17:52 +02:00
andryyy
98a778a059 [Rspamd] Increase task timeout to prevent expensive tasks to cause a timeout; Set max size for macro scans to 3 MiB 2021-08-16 10:01:41 +02:00
andryyy
bc8e87fba6
[Rspamd] Olefy: reduce max scan size to 5 MiB 2021-08-16 06:49:18 +02:00
andryyy
2de8c8ec79 Merge branch 'master' of github.com:mailcow/mailcow-dockerized 2021-08-15 20:19:48 +02:00
andryyy
d6eb21f7a6
[Web] Fix some empty responses in alert box 2021-08-15 20:19:28 +02:00
Oliver Weyhmueller
6dcd7bb32c
Fix: Icons not displayed on oauth/authorize.php (#4232)
OAuth Authorization page did not show icons because of relative path.
As other fonts are included with an absolute path this should be fine here, too.
2021-08-15 08:53:06 +02:00
andryyy
2dfcfd16d0
[Web] Fix DKIM import 2021-08-14 07:31:52 +02:00
andryyy
d383c0ab9b
[Dovecot] Revert autocrypt sieve before, fixes DeltaChat and closes #4230 2021-08-13 06:18:43 +02:00
andryyy
c925951bca
[Web] Fix wrong autoconfig port 2021-08-10 09:06:42 +02:00
André Peters
639e751678
Revert "[Web] Fix broken autoconfig ports, fixes #4221 (#4223)" (#4226)
This reverts commit 9afea99189.
2021-08-10 09:05:01 +02:00
andryyy
e30a8efb0f
[Web] Fix responsive btn block 2021-08-10 08:48:36 +02:00
Kristian Feldsam
9afea99189
[Web] Fix broken autoconfig ports, fixes #4221 (#4223)
Refactored to use function, moved another function

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-08-10 02:08:04 +02:00
andryyy
c13c521699
[Web] Fix broken autoconfig ports, fixes #4221 2021-08-09 21:35:19 +02:00
Peter
eca42f5d23
[Dovecot] Update imapsync to 2.148 (#4206) 2021-08-09 18:38:16 +02:00
andryyy
c3727cba24
[Web] Various PHP 8 fixes, see #4219 2021-08-09 18:37:19 +02:00
andryyy
2cd0b56b14
[Web] Various PHP 8 fixes, partly fixes #4219 2021-08-09 08:28:22 +02:00
andryyy
7e958c9b26
[Web] Fix blank screen in admin.php 2021-08-08 17:06:41 +02:00
andryyy
eff3e388c5
[Web] Fix user.php with PHP 8 2021-08-08 16:55:18 +02:00
andryyy
cad98f83e6
[Web] Remove develcow site 2021-08-08 16:23:59 +02:00
andryyy
cf8fdae277
[Web] Some minor fixes and improvements for PHP 8 2021-08-08 16:06:55 +02:00
andryyy
eec75690e0
[Nginx] Deny inc/lib location 2021-08-08 16:06:26 +02:00
andryyy
6db004bc79
[PHP-FPM] Upgrade to PHP 8 2021-08-08 16:05:59 +02:00
andryyy
fc8ac2de1f
[Web] Do not try to init spam slider as domain admin 2021-08-04 12:41:01 +02:00
Kristian Feldsam
96e055e226
[Web] Customized apps name in header (#4201)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-08-01 18:00:14 +02:00
Ashus
b1e89fae37
[Web] Added vnd.dovecot.execute/filter/pipe sieve validator support (fixes #2026) (#4204)
Signed-off-by: Ashus <github.com@ashus.net>
2021-08-01 17:59:20 +02:00
sandrzejewskipl
8ccf529936
Update lang.pl.json (#4202) 2021-07-30 23:23:14 +01:00
Kristian Feldsam
05bef542d0
[Web] Translated new string to sk and cs (#4203)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-30 07:19:00 +02:00
andryyy
fcbd4e762d
[Web] Set default relayhost to 0 when adding a mailbox; add missing lang strings 2021-07-29 14:37:33 +02:00
andryyy
21cb3f67b3 Merge branch 'master' of github.com:mailcow/mailcow-dockerized 2021-07-28 21:44:14 +02:00
andryyy
96a460c2fa
[Dovecot] Change sieve scripts for DeltaChat 2021-07-28 21:44:06 +02:00
Kristian Feldsam
6ec2a0a97d
[SOGo] Added hooks support for SOGo image (#4181)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-28 21:41:44 +02:00
andryyy
773383cacd
[Web] Fix BCC toggling active when changing the type, thanks for @feldsam 2021-07-24 19:05:06 +02:00
Kristian Feldsam
f6ca438cf4
[Web] Various i18n strings updated or added (#4196)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-24 18:51:19 +02:00
andryyy
3dd7d7226d
[Dovecot] Re-add sieve_vacation_dont_check_recipient = no (default) to check for vacation rcpts 2021-07-21 10:10:39 +02:00
Lukáš Matula
42cdc0b89f
[Web] Update restart button (#4192) 2021-07-20 10:09:33 +02:00
Sven Michels
376ef76022
[Rspamd] Add soft reject on task timeout (#4189)
As we have seen issues in DNS processing actually stops rspamd from
processing a message, which leads to missing tag insertion for example,
we turn on soft reject on task timeout. Behavior is the same as with
greylisting for example, so the mail will be delayed/soft rejected, but
as DNS issues usually are most likely temporarily, it should get delivered
on the second try.
2021-07-19 12:09:32 +02:00
Marc Maurer
4f696313b1
[Web] Add autocomplete attributes to the corresponding input fields (#4190)
This commit will add the HTML autocomplete attribute to the login form inputs. The attribute helps a password manager to identify the right input fields for autofill.
(https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
2021-07-17 06:47:52 +02:00
Kristian Feldsam
dd5bc26b26
[Web] enhaned responsive design (#4187)
Fixed buttons with long titles

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-12 09:47:39 +02:00
Razvan
90f9786c13
[Web] Update lang.ro.json 2021-07-11 19:31:19 +03:00
andryyy
b5bf97eec9
[Rspamd] Revert custom DNS timeouts 2021-07-11 17:31:40 +02:00
andryyy
d942d500be
[Web] No jumpy buttons 2021-07-10 16:07:19 +02:00
Kristian Feldsam
2b8a95d52c
[Web] Login Apps buttons enhanced styling (#4183)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-09 14:42:42 +02:00
Shea Ramage
08dfc0220e
[Web] Remove redundant password hash checks (#4180)
Co-authored-by: Thomas Ramage <tramage@eucmail.com>
2021-07-09 09:54:35 +02:00
andryyy
b3959e8071
[Rspamd] DeltaChat improvements 2021-07-09 09:19:06 +02:00
andryyy
bdafb7ab2f
[Web] Reponsive: Scroll faster 2021-07-09 08:27:16 +02:00
andryyy
dfc8c95a54
[Web] Fix ACL for spam score and minor style fix 2021-07-09 08:23:23 +02:00
Kristian Feldsam
f73ac284e5
[Web] Improve responsive design (#4171)
Complete styling for mobile devices

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-09 08:21:09 +02:00
andryyy
78270f9707
[Web] Do not allow admin login to mailbox logged in as user while ALLOW_ADMIN_EMAIL_LOGIN is n 2021-07-09 07:43:23 +02:00
andryyy
5a6d970794
[Rspamd] Better support for DeltaChat 2021-07-09 07:42:37 +02:00
Kristian Feldsam
236fdf5584
[Web] Utilize full width, add new breakpoint
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-08 15:17:05 +02:00
Peter
11d66e80be
Merge pull request #4179 from FELDSAM-INC/feldsam/cs-sk-translations
[web] Updated CS and SK translations
2021-07-07 17:55:22 +02:00
Kristian Feldsam
d8fe075b7c [web] cs translation updated
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-07 13:14:51 +02:00
Kristian Feldsam
b15e6b7d03 [web] sk translation updated
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-07 13:14:35 +02:00
Sp8c3
7affe274ab
[Web] Translated selectbox "nothing selected" string (#4178) 2021-07-07 11:44:32 +02:00
Kristian Feldsam
9c6995c82d
[web] dns diag spf record syntax link updated (#4175)
Added old one on new domain name

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-07 06:40:37 +02:00
Kristian Feldsam
7bc8781db8
[Web] added translations for various strings (#4173)
* [Web] translated synchronization "open logs" str

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

* [Web] translated selectbox "nothing selected" str

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>

* [Web] translated Check against haveibeenpwned.com

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-07-07 06:39:29 +02:00
andryyy
fa9327a279
[Rspamd, Web] Update Rspamd settings preset to include BCC as enabled module 2021-07-05 16:25:43 +02:00
andryyy
78084c5e7b
[Web] Log only latest datetime of a unique datetime, service and ip combination 2021-07-01 06:44:37 +02:00
andryyy
7178db8ae1 Merge branch 'master' of github.com:mailcow/mailcow-dockerized 2021-06-30 10:24:13 +02:00
andryyy
d4d20701ce
[Web] Fix width of select field when editing a domain admin 2021-06-30 10:23:39 +02:00
andryyy
74d7607f8f
[Config] Remove ejabberd from compose 2021-06-30 10:15:52 +02:00
andryyy
8b08d09ca2
[Web] Remove XMPP options
[Web] Add Rspamd preset #4
[Web] Do not show failed SASL logins (and also remove them from db)
2021-06-30 10:13:29 +02:00
andryyy
13223245f2
[Dovecot] Remove logging of invalid sasl sessions 2021-06-30 10:11:37 +02:00
towerman86
c0b8e3b2b8
Update lang.it.json
You could upload it.
I have to stop translating for a bit 😔
2021-06-29 14:38:35 +02:00
prey87
f767a27859
added ip address to $f2b_options['perm_bans'] and $f2b_options['active_bans'] to fail2ban.inc (#4152)
added link to bgp.he.net/ip/ in admin fail2ban overview
2021-06-28 07:07:29 +02:00
Lukáš Matula
a78eb5cefe
[Web] Update lang.sk.json + sort (#4156) 2021-06-24 08:39:07 +02:00
andryyy
962e9a8be8
[Dovecot] Revert to 2.3.14.1 2021-06-23 14:22:57 +02:00
andryyy
e6d71448dd
[Web] Minor fix: Hide SSO when SOGo is disabled 2021-06-23 14:22:45 +02:00
andryyy
b2272b8e35
[Dovecot] Re-add listescape... 2021-06-23 14:17:39 +02:00
andryyy
9544ffe174
[Dovecot] Remove listescape 2021-06-23 14:13:34 +02:00
andryyy
f4de39b4a4
[Web] Minor style fix for checkbox in /user 2021-06-23 14:12:36 +02:00
andryyy
3045bcf49d
[Nginx] Allow SOGo SSO 2021-06-23 14:12:14 +02:00
andryyy
1cedef173f
[SOGo] Add trusted proxy by default 2021-06-23 14:11:41 +02:00
andryyy
1d59fa3d53
[Dovecot] Remove listescape; enable SSO by default 2021-06-23 14:11:23 +02:00
andryyy
5035e5bb42
[Web] Update composer deps 2021-06-23 08:05:09 +02:00
andryyy
d156a93a84
[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip 2021-06-22 07:17:55 +02:00
andryyy
29553567a9
[Web] Sort lang de/en 2021-06-22 07:14:19 +02:00
andryyy
06beda7c7c
[Rspamd] Increase DNS timeout and retransmits 2021-06-21 22:03:26 +02:00
andryyy
f7fd0d8c7c
[Dovecot] Move includes 2021-06-21 22:03:11 +02:00
andryyy
7b0b59a082
[Rspamd] Use Postfix IP 2021-06-21 22:02:36 +02:00
andryyy
0ba0878e28
[Dovecot] v2.3.15 2021-06-21 22:02:24 +02:00
andryyy
d414ab82f8
[Watchdog] Remove IPv6 NAT check (wip) 2021-06-21 22:02:06 +02:00
andryyy
9773d3549e
[Web] Fix password policy for mailbox user; minor Solr status fix 2021-06-17 07:07:48 +02:00
andryyy
5b68c186ca
[Rspamd] Bad header rule for hotmail/outlook.com spam that no one seems to care about at MS :/ 2021-06-17 06:34:47 +02:00
andryyy
3ec1b856c7
[Rspamd] Fix bad header rule 2021-06-16 12:23:11 +02:00
andryyy
8a20f67d65 Merge branch 'master' of github.com:mailcow/mailcow-dockerized 2021-06-15 11:40:49 +02:00
andryyy
6bc0ad1604
[Web] Change SASL IP link to BGP HE 2021-06-15 11:40:39 +02:00
Dmitriy Alekseev
583663f6d1
[Rspamd] Fix FREEMAIL_POLICY_FAILURE with SPF_SOFTFAIL (#4142)
Add really low negative score to SOFTFAIL policy symbols to get FREEMAIL_POLICY_FAILURE triggered correctly
2021-06-11 16:10:28 +03:00
Lukáš Matula
81864823c5
[Web] Update lang.sk.json + typo (#4140) 2021-06-10 21:15:01 +02:00
andryyy
d90d4f9640
[Web] Fix allow-to-send-as display in user 2021-06-09 11:05:27 +02:00
andryyy
05c85b4140
[Web] Fix alias verification 2021-06-09 11:03:48 +02:00
andryyy
a01ba7efa3 Merge branch 'master' of github.com:mailcow/mailcow-dockerized 2021-06-09 07:28:03 +02:00
andryyy
38aee89a67
[Doveceot] Fix forced PW update 2021-06-09 07:25:38 +02:00
andryyy
a6edb75e88
[Doveceot] Fix forced PW update 2021-06-09 07:22:48 +02:00
andryyy
47b57df3a2
[Web] Show users last PW change, allow to select n days for last logins 2021-06-09 07:19:57 +02:00
Peter
8c1d4ecfc6
Merge pull request #4128 from mihing/patch-1
[Web] Update lang.ru.json
2021-06-08 20:11:58 +02:00
andryyy
da20d5dc38
[Web] Replace country flags, improve flags for last logins, add info about last password change of a user 2021-06-08 13:16:10 +02:00
andryyy
f7bbbde8c9
[Dovecot] Check protocol access in LUA API, remove postlogin script 2021-06-08 13:15:14 +02:00
andryyy
3ffd39dae5
[Dovecot] Move mailboxes to separate config file; remove postlogin script (replaced by config variables) 2021-06-08 13:14:47 +02:00
andryyy
68f9ca8cb0
[Postfix] Remove broken SASL access map, moved to Dovecot LUA authentication 2021-06-08 13:13:49 +02:00
andryyy
89a00f6d24 Merge branch 'master' of github.com:mailcow/mailcow-dockerized 2021-06-06 21:04:20 +02:00
andryyy
08d666985f
[Web] Improve last logins, switch to country name (workaround, fix in progress) 2021-06-06 21:00:48 +02:00
mihing
149558ecab
Update lang.ru.json
A bit of grammar and other changes
2021-06-06 16:33:23 +03:00
waja
28ab9986a7
Remove left smtpd_last_auth statement (#4127) 2021-06-06 11:52:31 +00:00
andryyy
a89fe53e4a
[Web] Show country of sasl ips 2021-06-06 11:57:15 +02:00
andryyy
d7ecf899c8
[Rspamd] Reduce 00 bad subjects score 2021-06-05 17:45:27 +02:00
Dmitriy Alekseev
05f6e28191
[Postfix] Remove smtpd_last_auth from master.cf (#4124) 2021-06-05 16:13:50 +02:00
andryyy
b47b30e5ea
[Web] Fix checkbox position in new Firefox 2021-06-05 08:46:39 +02:00
andryyy
7050d7c259
[Web] Fix BCC validation for aliases 2021-06-05 08:40:55 +02:00
andryyy
51b32bc4c0
[Dovecot] Remove last_login, fixes #4121 2021-06-04 20:48:36 +02:00
andryyy
2d55b54904
[Web] Show users the last known connections for SASL authentication
[Web] Feature: Log SASL authentication
2021-06-04 14:29:39 +02:00
andryyy
51e3521aac
[Postfix] Remove smtpd_last_auth service; replaced by SASL logging in Dovecot LUA auth process 2021-06-04 14:29:28 +02:00
andryyy
6d22ae8d02
[Dovecot] Feature: Move authentication to LUA and prepare for http based authentication, log last SASL logins to SQL 2021-06-04 14:27:33 +02:00
andryyy
fc93c5e2a8
[Web] Minor icon change 2021-06-03 08:39:03 +02:00
andryyy
aebb527b05 Merge branch 'master' of github.com:mailcow/mailcow-dockerized 2021-06-03 08:37:41 +02:00
andryyy
b6b64f9470
[Rspamd] rename symbol from bad_regex to bad_subject 2021-06-03 08:18:10 +02:00
andryyy
c8955284a2
[Rspamd] Create BCC plugin 2021-06-03 08:02:03 +02:00
andryyy
735bcb2f55
[Web] Allow to select aliases for BCC 2021-06-03 08:00:59 +02:00
andryyy
1bad74101f
[Postfix] Add listener for BCC sender used by meta_exporter in Rspamd 2021-05-30 16:08:19 +02:00
andryyy
839e9bd91c
[Web] Improve alias domain table 2021-05-30 16:07:57 +02:00
Sven Michels
b39ac8f649 [Web] Fix: spf record validation failed with redirect
When using a redirect in your SPF record, the web UI validation
failed when your record contained a ipv6 address. In
web/inc/ajax/dns_diagnostics.php the function get_spf_allowed_hosts
is called with the second parameter to be true to expand ipv6
addresses. But when called for redirects, the value was not set to
true, so it defaulted back to false. This caused an unexpanded ipv6
address to be added to the array and the in_array match for ipv6
never matched as it is always called with expand_ipv6.
While looking at the code i noted some messed up in the indention,
which is also "fixed" by this commit.
2021-05-28 23:48:15 +02:00
andryyy
8a83587800
[Postfix] Finally here: MX based transport map routing; Sorry it took years, Patrik
[Web] Small fixes
2021-05-28 10:40:41 +02:00
andryyy
f54ab6f867 Merge branch 'master' of github.com:mailcow/mailcow-dockerized 2021-05-27 13:17:49 +02:00
andryyy
fe483d882d
[Rspamd] Replace 00 bad domains by bad regex map (wip) 2021-05-27 13:17:35 +02:00
andryyy
4ede07854d
[Rspamd] Replace 00 bad domains by bad regex map (wip) 2021-05-27 12:34:33 +02:00
andryyy
4b28dbbabc
[Rspamd] Replace 00 bad domains by bad regex map (wip) 2021-05-27 12:33:47 +02:00
andryyy
174038ae37
[Web] Increase font size to 10.5pt 2021-05-27 12:33:28 +02:00