KiekerJan
8c6d822a49
Merge branch 'main' into dnstimeouthandling
2023-02-13 21:51:47 +01:00
Joshua Tauberer
6f94412204
v61.1
2023-01-28 11:25:21 -05:00
Joshua Tauberer
c77d1697a7
Revert "Improve error messages in the management tools when external command-line tools are run"
...
Command line arguments have user secrets in some cases which should not be included in error messages.
This reverts commit 26709a3c1d
.
Reported by AK.
2023-01-28 11:24:38 -05:00
Hugh Secker-Walker
31bbef3401
chore(setup): Make sed fingerprint patterns in start.sh be case insensitive ( #2201 )
2023-01-28 11:12:40 -05:00
Hugh Secker-Walker
7af713592a
feat(status page): Add summary of ok/error/warning counts ( #2204 )
...
* feat(status page): Add summary of ok/error/warning counts
* simplify a bit
---------
Co-authored-by: Hugh Secker-Walker <hsw+miac@hodain.net>
Co-authored-by: Joshua Tauberer <jt@occams.info>
2023-01-28 11:11:17 -05:00
Hugh Secker-Walker
4408cb1fba
fix(rsync-backup): Provide default port 22 for rsync usage in backup.py ( #2226 )
...
Co-authored-by: Hugh Secker-Walker <hsw+miac@hodain.net>
2023-01-28 11:04:46 -05:00
Joshua Tauberer
5e3e4a2161
v61
2023-01-21 08:20:48 -05:00
Joshua Tauberer
61d1ea1ea7
Changelog entries
2023-01-15 10:17:10 -05:00
Joshua Tauberer
b3743a31e9
Add a status checks check that fail2ban is running using fail2ban-client
2023-01-15 10:17:10 -05:00
Joshua Tauberer
26709a3c1d
Improve error messages in the management tools when external command-line tools are run
2023-01-15 10:17:10 -05:00
jcm-shove-it
20ec6c2080
Updated security.md to reflect the support of ubuntu 22.04 ( #2219 )
2023-01-15 10:05:36 -05:00
Steven Conaway
7a79153afe
Remove old darkmode background color ( #2218 )
...
Removing this old background color solves the problem of the bottom of short pages (like `/admin`'s login page) being white. The background was being set to black, which would be inverted, so it'd appear white. Since the `filter:` css has [~97% support](https://caniuse.com/?search=filter ), I think that this change should be made. Tested on latest versions of Chrome (mac and iOS), Firefox, and Safari (mac and iOS).
2023-01-15 10:05:13 -05:00
Hugh Secker-Walker
a2565227f2
feat(rsync-port): Add support for non-standard ssh port for rsync backup ( #2208 )
2023-01-15 10:03:05 -05:00
Hugh Secker-Walker
02b34ce699
fix(backup-display): Fix parsing of rsync target in system-backup.html, fixes #2206 ( #2207 )
2023-01-15 10:01:07 -05:00
Hugh Secker-Walker
820a39b865
chore(python open): Refactor open and gzip.open to use context manager ( #2203 )
...
Co-authored-by: Hugh Secker-Walker <hsw+miac@hodain.net>
2023-01-15 08:28:43 -05:00
Hugh Secker-Walker
57047d96e9
chore(setup): Update obsolete chown group syntax ( #2202 )
...
Co-authored-by: Hugh Secker-Walker <hsw+miac@hodain.net>
2023-01-15 08:25:36 -05:00
KiekerJan
1587248762
Disable Roundcube password plugin since it was corrupting the user database ( #2198 )
2023-01-15 08:22:43 -05:00
KiekerJan
0fc5105da5
Fixes to DNS lookups during status checks when there are timeouts, enforce timeouts better ( #2191 )
...
* add dns query handling changes
* replace exception pass with error message
* simplify dns exception catching
* Add not set case to blacklist lookup result handling
2023-01-15 08:20:08 -05:00
KiekerJan
c29593b5ef
explicitly enable fail2ban which didn't start ( #2190 )
2023-01-15 08:10:04 -05:00
KiekerJan
6642f3f95a
Merge remote-tracking branch 'upstream/main' into dnstimeouthandling
2022-11-03 08:37:33 +01:00
KiekerJan
c983037ff0
Add not set case to blacklist lookup result handling
2022-11-03 08:34:32 +01:00
Joshua Tauberer
3314c4f7de
v60.1
2022-10-30 08:18:13 -04:00
Joshua Tauberer
1f60236985
Upgrade Nextcloud to 23.0.4 (contacts to 4.2.0, calendar to 3.5.0)
...
This fixes the monthly view calendar items being in random order.
2022-10-30 08:16:54 -04:00
alento-group
32c68874c5
Fix NSD not restarting ( #2182 )
...
A previous commit (0a970f4bb2
) broke nsd restarting. This fixes that change by reverting it.
Josh added: Use nsd-control with reconfig and reload if they succeed and only fall back to restarting nsd if they fail
Co-authored-by: Joshua Tauberer <jt@occams.info>
2022-10-30 08:16:03 -04:00
KiekerJan
ecbb210058
Add dns time out handling changes
2022-10-26 23:14:57 +02:00
KiekerJan
8d8d6e158b
simplify dns exception catching
2022-10-23 23:40:04 +02:00
KiekerJan
c462008a5e
replace exception pass with error message
2022-10-23 23:35:37 +02:00
KiekerJan
6336dbbff7
add dns query handling changes
2022-10-23 23:32:47 +02:00
Joshua Tauberer
286a4bd9e7
Remove stray quote in bootstrap.sh
...
Reported at https://discourse.mailinabox.email/t/version-60-for-ubuntu-22-04-is-released/9558/4 .
2022-10-12 06:11:02 -04:00
Joshua Tauberer
ddf8e857fd
Support Ubuntu 22.04 Jammy Jellyfish ( #2083 )
2022-10-11 21:18:34 -04:00
Joshua Tauberer
4d5ff0210b
Version 60
2022-10-11 21:14:31 -04:00
Joshua Tauberer
89cd9fb611
Increase gunicorn's worker timeout since some /admin commands take a long time
2022-10-08 08:23:48 -04:00
Joshua Tauberer
22a6270657
Remove old setup step to uninstall acme library
2022-10-08 08:23:48 -04:00
Joshua Tauberer
0a970f4bb2
Use nsd-control to refresh nsd after zone files are rewritten rather than 'service nsd restart'
...
I am not sure if this was the problem but nsd didn't serve updated zonefiles on my box and 'service nsd restart' must have been used, so maybe it doesn't reload zones.
2022-10-08 07:24:57 -04:00
Joshua Tauberer
9b111e2493
Update to Nextcloud 23.0.8 (contacts 4.2.0, calendar 3.5.0)
2022-10-08 07:23:21 -04:00
jvolkenant
b8feb77ef4
Move postgrey database under $STORAGE_ROOT ( #2077 )
2022-09-24 13:17:55 -04:00
Joshua Tauberer
3c44604316
Install 'file' package
...
The command is used in mailinabox-postgrey-whitelist. Reported missing (on systems that don't install it by default) in #2083 .
2022-09-24 10:10:50 -04:00
Steve Hay
1e1a054686
BUGFIX: Correctly handle the multiprocessing for run_checks in the management daemon ( #2163 )
...
See discussion here: #2083
Co-authored-by: Steve Hay <hay.steve@gmail.com>
2022-09-24 09:56:27 -04:00
kiekerjan
d584a41e60
Update Roundcube to 1.6.0 ( #2153 )
2022-09-17 09:20:20 -04:00
downtownallday
56074ae035
Tighten roundcube session config ( #2138 )
...
Merges #2138 .
2022-09-17 09:09:00 -04:00
downtownallday
30631b0fc5
Fix undefined variable 'val' in tools/editconf.py ( #2137 )
...
Merges #2137 .
2022-09-17 09:09:00 -04:00
Steve Hay
84da4e6000
Update dovecot to use same DH parameters file as the other services
...
Originally from #2157 .
2022-09-17 09:07:54 -04:00
Joshua Tauberer
58ded74181
Restore the backup S3 host select box if an S3 target has been set
...
Also remove unnecessary import added in 7cda439c
. Was a mistake from edits during PR review.
2022-09-17 09:07:54 -04:00
Steve Hay
3fd2e3efa9
Replace Flask built-in WSGI server with gunicorn ( #2158 )
2022-09-17 08:03:16 -04:00
Steve Hay
7cda439c80
Port boto to boto3 and fix asyncio issue in the management daemon ( #2156 )
...
Co-authored-by: Steve Hay <hay.steve@gmail.com>
2022-09-17 07:57:12 -04:00
Joshua Tauberer
91fc74b408
Setup fixes for Ubuntu 22.04
...
Nextcloud:
* The Nextcloud user_external 1.0.0 package for Nextcloud 21.0.7 isn't available from Nextcloud's releases page, but it's not needed in an intermediate upgrade step (hopefully), so we can skip it.
* Nextcloud updgrade steps should not be elifs because multiple intermediate upgrades may be needed.
* Continue if the user_external backend migration fails. Maybe it's not necessary. It gives a scary error message though.
* Remove a line that removes an old file that hasn't been in use since 2019 and the expectation is that Ubuntu 22.04 installations are on fresh machines.
Backups:
* For duplicity, we now need boto3 for AWS.
2022-09-03 07:50:36 -04:00
Sudheesh Singanamalla
d7244ed920
Fixes #2149 Append ; in policy strings for DMARC settings ( #2151 )
...
Signed-off-by: Sudheesh Singanamalla <sudheesh@cloudflare.com>
2022-08-19 13:23:42 -04:00
David Duque
e0c0b5053c
Upgrade Nextcloud External User Backend to v3.0.0
...
Co-Authored-By: Joshua Tauberer <jt@occams.info>
2022-07-28 14:42:51 -04:00
Joshua Tauberer
268b31685d
Ensure STORAGE_ROOT has a+rx permission since processes run by different system users need to access files within it
2022-07-28 14:42:51 -04:00
Joshua Tauberer
ab71abbc7c
Update to latest cryptography Python package, add missing source at top of management.sh so it can run standalone (needs STORAGE_ROOT)
2022-07-28 14:42:51 -04:00