Commit graph

2445 commits

Author SHA1 Message Date
David Duque
662639d905 Software updates
* Nextcloud: Calendar plugin to v3.5.2
* Webmail: CardDAV/CalDAV plugin to v4.4.4
2022-10-30 17:10:18 +00:00
David Duque
03b36c958c Merge v60.1 (from upstream) 2022-10-30 17:02:05 +00: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
David Duque
ed7859eab8 v60.2 2022-10-20 00:36:29 +01:00
David Duque
003ff10d07 Fix editconf issue
See mail-in-a-box/mailinabox#2137
2022-10-20 00:33:47 +01:00
David Duque
8b4a49597e v60.1 2022-10-18 21:58:46 +01:00
David Duque
01cf61deab gettext is a build dependency for duplicity
* Fixes #81
2022-10-18 20:36:18 +01:00
David Duque
619d3781f5 noreply addresses: Use correct db path
* Fixes #82
2022-10-18 20:35:25 +01:00
David Duque
025494ed9c v60.0 2022-10-17 03:41:20 +01:00
David Duque
824762d18d Last-minute setup patches 2022-10-17 03:40:08 +01:00
David Duque
9243ea9374 Software Updates
* Nextcloud to 24.0.6
* * Contacts to 4.2.2
* JQuery to 3.6.1
* Bootstrap to 5.2.2
* FontAwesome to 6.2.0
2022-10-17 02:56:03 +01:00
David Duque
132cfe6e32 Enable local ipv6 at kernel level
* We need :: for nsd
2022-10-17 02:45:31 +01:00
David Duque
bc72c58ae5 Move away from doveadm pw for password changes
* Fixes #77
2022-10-17 02:36:38 +01:00
David Duque
866c185a08 Fix #66
Make sure OOO notices are sent as if the recipients sent them
2022-10-16 23:26:00 +01:00
David Duque
97a84bc2b8 Editconf: merge from v60 2022-10-16 20:56:31 +01:00
David Duque
6c1a98dc4b Status Checks on packages
* Pending upgrades will be written as warnings instead of errors
* Removed Ubuntu Pro advertisment (hacky solution,
need to check for consequences)
2022-10-16 20:46:54 +01:00
David Duque
a03707e5f8 Confirm boto3 installation 2022-10-16 20:46:04 +01:00
David Duque
913a4a4585 Alternative duplicity installation (build from pip) 2022-10-16 19:21:07 +01:00
David Duque
c30a18a30b Import changes from upstream v60 2022-10-16 18:26:39 +01: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
David Duque
9700b59cf8 Bump test machine RAM allocation
* Fixes kernel panics on Jammy Jellyfish
2022-09-10 16:07:37 +01:00
David Duque
e7ee4bc5b4 Fix Nextcloud installation step 2022-09-10 15:52:17 +01:00
David Duque
dc787b67b4 Handle the case where the raw spf record exists but is None
* Fixes #70
2022-09-09 16:29:01 +01:00
David Duque
09cf3b3755 Allow dashes in DKIM selectors
(when they're not the first character)
* Fixes #68
2022-09-08 16:00:08 +01:00
David Duque
fc04c8d723 Nextcloud: Implement old version safeguards 2022-09-08 13:05:41 +01:00
Johga
2aa4229e0b
fix error when user_external version under 3.0.0 (#69) 2022-09-08 13:03:51 +01:00
David Duque
e1be9a5eeb
Ubuntu 22.04 support (#59)
* Vagrantfile: Add Ubuntu 22.04 image

* Recognize Ubuntu 22.04 as supported

* Bump nextcloud to v24.0.0

* Bump Roundcube to 1.6-beta

Still waiting for the final release to come out

* Fix version checking functions

* NextCloud fixes

* Update Roundcube config

* Bump roundcube to 1.6-rc

* FIx nextcloud installation step

* rcm: Update CardDAV plugin to v4.4.0 (Guzzle v7)

* Fix STORAGE_ROOT permissions

* Update RC CardDAV plugin to v4.4.1

* Unpin b2sdk for Ubuntu 22.04

* Comment fix

* Drop support for Debian 10 from this point forward

* Software Updates
* Nextcloud: 24.0.2
* Nextcloud Calendar: 3.4.2
* Roundcube CardDAV: 4.4.2

* Update Roundcube to v1.6.0

* Update Nextcloud to v24.0.3
* Contacts to v4.2.0

* Upgrade Nextcloud to v24.0.4
* Calendar to v3.5.0

Webmail:
* CardDAV to v4.4.3
2022-09-08 12:26:39 +01: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