KiekerJan
0058583913
update roundcube email to 1.6, update plugins and add logrotate entry
2022-08-19 19:59:38 +02: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
Joshua Tauberer
87e6df9e28
Fix roundcube dependency missing imap and unneeded ldap
2022-07-28 14:42:51 -04:00
Felix Matouschek
558f2db31f
system.sh: Remove no longer needed haveged ( #2090 )
...
Starting from kernels 5.6 haveged is obsolete. Therefore remove it in
Ubuntu 22.04.
See https://github.com/jirka-h/haveged/issues/57
2022-07-28 14:42:51 -04:00
Joshua Tauberer
0a7b9d5089
Update dovecot, spampd settings for Ubuntu 22.04
...
* dovecot's ssl_protocols became ssl_min_protocol in 2.3
* spampd fixed a bug so we can remove lmtp_destination_recipient_limit=1 in postfix
2022-07-28 14:34:45 -04:00
Joshua Tauberer
1eddf9a220
Upgrade to Nextcloud 23.0.4
...
The first version supporting PHP 8.0 is Nextcloud 21. Therefore we can add migrations only to Nextcloud 21 forward, and so we only support migrating from Nextcloud 20 (Mail-in-a-Box versions v0.51+). Migration steps through Nextcloud 21 and 22 are added.
Also:
* Fix PHP APUc settings to be before Nextcloud tools are run.
2022-07-28 14:34:45 -04:00
Joshua Tauberer
78d71498fa
Upgrade from PHP 7.2 to 8.0 for Ubuntu 22.04
...
* Add the PHP PPA.
* Specify the version when invoking the php CLI.
* Specify the version in package names.
* Update paths to 8.0 (using a variable in the setup scripts).
* Update z-push's php-xsl dependency to php8.0-xml.
* php-json is now built-into PHP.
Although PHP 8.1 is the stock version in Ubuntu 22.04, it's not supported by Nextcloud yet, and it likely will never be supported by the the version of Nextcloud that succeeds the last version of Nextcloud that supports PHP 7.2, and we have to install the next version so that an upgrade is permitted, so skipping to PHP 8.1 may not be easily possible.
2022-07-28 14:02:46 -04:00
Joshua Tauberer
b41a0ad80e
Drop some hacks that we needed for Ubuntu 18.04
...
* certbot's PPA is no longer needed because a recent version is now included in the Ubuntu respository.
* Un-pin b2sdk (reverts 69d8fdef99
and d829d74048
).
* Revert boto+s3 workaround for duplicity (partial revert of 99474b348f
).
* Revert old "fix boto 2 conflict on Google Compute Engine instances" (cf33be4596
) which is probably no longer needed.
2022-07-28 14:02:46 -04:00
Daniel Mabbett
8cb360fe36
Configure nsd listening interfaces before installing nsd so that it does not interfere with bind9
2022-07-28 14:02:46 -04:00
Joshua Tauberer
f534a530d4
Update and drop some package and file names for Ubuntu 22.04
...
* Fix path to bind9 startup options file in Ubuntu 22.04.
* tinymce has not been a Roundcube requirement recently and is no longer a package in Ubuntu 22.04
* Upgrade Vagrant box to Ubuntu 22.04
2022-07-28 14:02:46 -04:00
Joshua Tauberer
2abcafd670
Update Ubuntu version checks from 18.04 to 22.04
2022-07-28 14:02:44 -04:00
KiekerJan
f8ae130a01
merge upstream
2022-07-20 16:19:13 +02:00
Joshua Tauberer
3c3d62ac27
Version 57a
2022-06-19 08:58:09 -04:00
Joshua Tauberer
d829d74048
Pin b2sdk to version 1.14.1 in the virtualenv also
...
We install b2sdk in two places: Once globally for duplicity (see
9d8fdef9915127f016eb6424322a149cdff25d7 for #2125 ) and once in
a virtualenv used by our control panel. The latter wasn't pinned
when the former was but should be to fix new Python compatibility
issues.
Anyone who updated Python packages recently (so anyone who upgraded
Mail-in-a-Box) started encountering these issues.
Fixes #2131 .
See https://discourse.mailinabox.email/t/backblaze-b2-backup-not-working-since-v57/9231 .
2022-06-18 13:15:59 -04:00
KiekerJan
69e15fa942
merge upstream v57
2022-06-13 20:07:50 +02:00
Joshua Tauberer
2aca421415
Version 57
2022-06-12 08:18:42 -04:00
KiekerJan
cb87310c73
update contact and calendar nextcloud apps
2022-06-05 23:56:35 +02:00
jbandholz
9004bb6e8e
Add IPV6 addresses to fail2ban ignoreip ( #2069 )
...
Update jails.conf to include IPV6 localhost and external ip to ignoreip line. Update system.sh to include IPV6 address in replacement. See mail-in-a-box#2066 for details.
2022-06-05 09:40:54 -04:00
m-picc
69d8fdef99
Specify b2sdk version 1.14.1 ( #2125 )
...
pin b2sdk version to 1.14.1 to resolve exception that occurs when attempting to use backblaze backups. See https://github.com/mail-in-a-box/mailinabox/issues/2124 for details.
2022-06-05 09:24:32 -04:00
KiekerJan
334df74e49
ensure fail2ban is enabled
2022-05-27 18:12:50 +02:00
kiekerjan
f0f3c7a442
Merge pull request #12 from kiekerjan/master
...
Merge master into development branch
2022-05-25 22:33:19 +02:00
KiekerJan
2a6ecd38b3
now really merge 2204 changes
2022-05-25 22:26:08 +02:00
KiekerJan
6f8242110d
merge 2204 specific changes
2022-05-25 13:24:33 +02:00
KiekerJan
a2a2e7ce24
nextcloud update
2022-05-24 22:10:48 +02:00
KiekerJan
982394dc69
add missing trailing slash
2022-05-22 00:40:00 +02:00
KiekerJan
81ff820e84
config changes to contacts
2022-05-22 00:30:21 +02:00
KiekerJan
fccbb591e3
remove superfluous command
2022-05-22 00:17:29 +02:00
KiekerJan
adbfeb6088
nextcloud 23 needs user_external 3.0.0
2022-05-21 20:10:13 +02:00
KiekerJan
90f0a0ae1d
simpler directory creation
2022-05-16 08:42:00 +02:00
KiekerJan
99be51bf70
nginx needs read access to provide letsencrypt challenges
2022-05-16 08:34:40 +02:00
KiekerJan
4457eaf3a4
fixes to installation
2022-05-15 22:16:48 +02:00
kiekerjan
5396437852
remove obsolete fix to dkimpy
2022-05-15 10:00:59 +02:00
KiekerJan
36303b6da5
merge from master
2022-05-13 14:49:17 +02:00
KiekerJan
314955a648
update nextcloud to 24
2022-05-12 23:09:31 +02:00
KiekerJan
bf4ec5697b
merge upstream
2022-05-12 22:15:52 +02:00
Austin Ewens
eeee712cf3
Switched to using tags over releases for NextCloud contacts/calendar ( #2105 )
...
See [mailinabox issue #2088 ](https://github.com/mail-in-a-box/mailinabox/issues/2088 ). This also updates the commit hashes to for anyone updating from NextCloud version 17 (as shown in the related issue) since a different hash is used for tags vs releases.
This was tested and verified to work on a setup previously running v0.44 and then updating to the latest version (v56).
2022-05-04 17:09:53 -04:00
KiekerJan
ec1d7ba384
include configuration of BACKUP_ROOT
2022-04-24 16:10:28 +02:00
KiekerJan
6c58403616
fixes to installation and compatibility with 22.04
2022-04-23 01:20:41 +02:00
KiekerJan
e947f8e68b
change apt daily timers to only show system software upgrades where user intervention is required
2022-04-22 21:23:11 +02:00
KiekerJan
d8de1f5279
prepare for update of user_external nextcloud plugin
2022-04-21 21:58:47 +02:00
github@kiekerjan.isdronken.nl
5d186fcced
Merge branch 'dns_to_unbound'
2022-04-21 21:54:11 +02:00
github@kiekerjan.isdronken.nl
141e12a8a8
update 2fa plugin because of security issue
2022-04-21 00:08:28 +02:00
KiekerJan
0392b07008
updates on nginx security headers
2022-04-18 21:16:21 +02:00
KiekerJan
87c9e2381e
check unbound is up before changing local dns server
2022-04-17 23:08:12 +02:00
KiekerJan
f1bc7187b2
update nextcloud to 23.0.2
2022-04-03 16:42:53 +02:00
KiekerJan
a4b6b15c14
add possibility for unbound blocklist
2022-03-22 13:05:25 +01:00
KiekerJan
600c07fb47
document bind9 replacement
2022-03-20 22:26:50 +01:00
KiekerJan
0f80d071db
remove elaborate dns config, simply delete resolv.conf symlink
2022-03-20 22:12:02 +01:00
KiekerJan
640751b606
initial changes to use unbound as local dns resolver instead of bind
2022-03-20 20:57:19 +01:00
github@kiekerjan.isdronken.nl
2e23e44582
merge prelim 22.04 changes from upstream
2022-02-16 23:32:30 +01:00
github@kiekerjan.isdronken.nl
d4e7fb985d
remove openDKIM if present
2022-02-06 22:01:08 +01:00
github@kiekerjan.isdronken.nl
686e878af5
merge master
2022-02-02 12:15:22 +01:00
KiekerJan
72b08d6b9a
fix installer bugs
2022-02-01 23:14:26 +01:00
github@kiekerjan.isdronken.nl
d017c8b04c
fixes to installer
2022-02-01 22:48:09 +01:00
github@kiekerjan.isdronken.nl
11644ef93c
merging master
2022-02-01 21:37:40 +01:00
github@kiekerjan.isdronken.nl
99c960fc56
dkimpy dev and nextcloud installation details
2022-02-01 21:36:06 +01:00
github@kiekerjan.isdronken.nl
3350fecd92
backport fix for dns resolver in python3-dkim
2022-02-01 21:36:06 +01:00
github@kiekerjan.isdronken.nl
8d5f52db0f
update nextcloud and webmail plugins
2022-02-01 21:36:06 +01:00
jvolkenant
28b801607d
Don't die if column already exists on Nextcloud 18 upgrade ( #2078 )
2022-02-01 21:36:02 +01:00
KiekerJan
2f86aa4eee
upgraded nextcloud to 22
2022-02-01 21:31:30 +01:00
KiekerJan
a041737f88
move command to web.sh setup
2022-02-01 21:31:30 +01:00
KiekerJan
2496f4783f
upgrade nextcloud to 21
2022-02-01 21:31:30 +01:00
Ilnahro
e952a69486
Include rsync to the installed basic packages ( #2067 )
...
Some VPS providers strip this package from their Ubuntu 18.04 VM images. This will help avoid errors.
2022-02-01 21:31:15 +01:00
Joshua Tauberer
3a7de051ee
Version 56 (January 19, 2022)
2022-01-19 16:59:34 -05:00
Joshua Tauberer
d1d6318862
Set systemd journald log retention to 10 days (from no limit) to reduce disk usage
2022-01-08 09:11:48 -05:00
Joshua Tauberer
34b7a02f4f
Update Roundcube to 1.5.2
2022-01-08 09:00:12 -05:00
Joshua Tauberer
a312acc3bc
Update to Nextcloud 20.0.8 and update apps
2022-01-08 09:00:12 -05:00
github@kiekerjan.isdronken.nl
21d4817998
dkimpy dev and nextcloud installation details
2022-01-06 22:06:27 +01:00
github@kiekerjan.isdronken.nl
96768f1fcb
backport fix for dns resolver in python3-dkim
2021-12-31 00:33:34 +01:00
github@kiekerjan.isdronken.nl
bf06639c78
merge from master
2021-12-29 22:36:23 +01:00
github@kiekerjan.isdronken.nl
acc9ebd68f
update nextcloud and webmail plugins
2021-12-29 22:27:15 +01:00
github@kiekerjan.isdronken.nl
73833e9e76
merge master
2021-12-28 23:33:22 +01:00
KiekerJan
e98a86b8d0
merge upstream
2021-12-28 23:12:08 +01:00
jvolkenant
c92fd02262
Don't die if column already exists on Nextcloud 18 upgrade ( #2078 )
2021-12-25 10:17:34 -05:00
github@kiekerjan.isdronken.nl
acfc71e7fd
correct dns tag for DKIM key
2021-12-11 01:00:02 +01:00
github@kiekerjan.isdronken.nl
ded1b55ebd
First steps in migrating to dkimpy-milter
2021-12-11 00:54:56 +01:00
kiekerjan
c1bfc20952
Merge pull request #11 from kiekerjan/upgrade-nextcloud
...
Upgrade nextcloud
2021-12-08 21:39:10 +01:00
KiekerJan
617dcbded9
merge upstream
2021-12-08 21:35:10 +01:00
KiekerJan
19be771769
upgraded nextcloud to 22
2021-12-07 22:41:00 +01:00
KiekerJan
fa9bcbe8d2
move command to web.sh setup
2021-12-06 23:25:31 +01:00
KiekerJan
9850ae5420
upgrade nextcloud to 21
2021-12-06 23:22:11 +01:00
Ilnahro
50a5cb90bc
Include rsync to the installed basic packages ( #2067 )
...
Some VPS providers strip this package from their Ubuntu 18.04 VM images. This will help avoid errors.
2021-11-30 19:50:01 -05:00
KiekerJan
53c6c0fcc4
update nextcloud to 2.0.14
2021-11-17 00:25:05 +01:00
KiekerJan
2e397aea62
postgrey remembers
2021-11-14 16:12:06 +01:00
KiekerJan
5da3803697
password needs to be editable in case totp is enabled in nextcloud, an application specific password is to be used to access nextcloud address book
2021-11-07 22:55:48 +01:00
KiekerJan
daff60ee13
add totp two factor auth to nextcloud
2021-11-07 22:54:43 +01:00
kiekerjan
d36b3e9030
Merge branch 'mail-in-a-box:main' into master
2021-11-06 23:39:28 +01:00
jvolkenant
58b0323b36
Update persistent_login for Roundcube 1.5 ( #2055 )
2021-11-04 18:59:10 -04:00
KiekerJan
2741affa48
Merge branch 'master' of github.com:kiekerjan/mailinabox
2021-11-04 00:32:14 +01:00
github@kiekerjan.isdronken.nl
7c11022fb5
merge upstream
2021-11-04 00:26:53 +01:00
KiekerJan
9c35f4d5f5
add totp two factor auth to roundcube
2021-10-28 21:56:50 +02:00
KiekerJan
be899f2b9e
avoid a runaway /64 in jail.conf
2021-10-25 16:44:25 +02:00
KiekerJan
91d4dfc88c
fix downloaded version of nextcloud contacts app
2021-10-25 16:24:18 +02:00
KiekerJan
5403f7eea7
updated version nextcloud
2021-10-25 00:09:32 +02:00
github@kiekerjan.isdronken.nl
eeada2b9b5
merge changes from V55 upstream
2021-10-19 23:07:02 +02:00
Joshua Tauberer
65861c68b7
Version 55
2021-10-18 20:40:51 -04:00
Joshua Tauberer
71a7a3e201
Upgrade to Roundcube 1.5
2021-10-18 20:40:51 -04:00
Joshua Tauberer
113b7bd827
Disable SMTPUTF8 in Postfix because Dovecot LMTP doesn't support it and bounces messages that require SMTPUTF8
...
By not advertising SMTPUTF8 support at the start, senders may opt to transmit recipient internationalized domain names in IDNA form instead, which will be deliverable.
Incoming mail with internationalized domains was probably working prior to our move to Ubuntu 18.04 when postfix's SMTPUTF8 support became enabled by default.
The previous commit is retained because Mail-in-a-Box users might prefer to keep SMTPUTF8 on for outbound mail, if they are not using internationalized domains for email, in which case the previous commit fixes the 'relay access denied' error even if the emails aren't deliverable.
2021-09-24 08:11:36 -04:00