downtownallday
72bee52bd7
fix detection of installation status of contacts app - the grep for "contacts" should not match app "contactsintegration"
2022-08-18 10:36:09 -04:00
downtownallday
cac187756d
Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
...
# Conflicts:
# CHANGELOG.md
# README.md
# management/ssl_certificates.py
# setup/bootstrap.sh
# setup/dns.sh
# setup/management.sh
# setup/nextcloud.sh
# setup/preflight.sh
# setup/start.sh
# setup/webmail.sh
# tests/test_mail.py
# tools/editconf.py
2022-07-28 17:20:57 -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
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
c23dd701f0
Start changelog and instructions updates for version 60 supporting Ubuntu 22.04
...
To scan for updated apt packages in Ubuntu 22.04, I ran on Ubuntu 18.04 and 22.04 and compared the output:
```
for package in openssl openssh-client haveged pollinate fail2ban ufw bind9 nsd ldnsutils nginx dovecot-core postfix opendkim opendkim-tools opendmarc postgrey spampd razor pyzor dovecot-antispam sqlite3 duplicity certbot munin munin-node php python3; do
echo -n "$package ";
dpkg-query --showformat='${Version}' --show $package;
echo
done
```
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
Rauno Moisto
78569e9a88
Fix DeprecationWarning in dnspython query vs resolve method
...
The resolve method disables resolving relative names by default. This change probably makes a7710e90
unnecessary. @JoshData added some additional changes from query to resolve.
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
downtownallday
27dcb5d7ca
Enable fail2ban for z-push and add a test for it
2022-07-18 15:52:04 -04:00
downtownallday
71b8b94276
Enable github actions
2022-06-29 12:57:13 -04:00
downtownallday
ecf5e3ddfb
Improve output formatting
2022-06-29 12:56:44 -04:00
downtownallday
8f1bb4f498
Add a z-push test suite
2022-06-29 10:42:09 -04:00
downtownallday
643a49676e
rename ehdd/startup.sh ehdd/run-this-after-reboot.sh
2022-06-28 20:56:48 -04:00
downtownallday
b2e4e8a38f
output message only when appropriate
2022-06-28 16:44:21 -04:00
downtownallday
9b8fc905f6
rename script "remote-nextcloud-use-miab.sh" to "connect-nextcloud-to-miab.sh"
2022-06-28 16:43:27 -04:00
downtownallday
f1cddb5bd1
Tighten roundcube session config
2022-06-28 07:43:11 -04:00
downtownallday
8ed4fcd363
Remove text about adding a firewall rule
2022-06-28 07:25:08 -04:00
downtownallday
88733f3d0e
Ignore opendkim message
...
We only care about messages regarding the validity of incoming mail.
2022-06-27 14:31:00 -04:00
downtownallday
13d8e867a2
Add color to the output
2022-06-27 14:28:59 -04:00
downtownallday
23d895b509
Fix another postgrey reload error
2022-06-27 14:28:43 -04:00
downtownallday
d4cbaaf356
Ensure users and groups are created so that duplicity properly restores permissions
2022-06-27 13:06:59 -04:00
downtownallday
6be8d732aa
Fix comment
2022-06-27 11:03:58 -04:00
downtownallday
fd0cd63462
Workaround postgrey reload issue in jammy
2022-06-27 11:03:31 -04:00
downtownallday
6ae3758874
Make ehdd/postinstall service disabling step quieter
2022-06-27 11:02:58 -04:00
downtownallday
9eacf3fe3f
Simplify ehdd mount/umount code
2022-06-27 11:02:15 -04:00
downtownallday
8838d5af82
Eliminate the manual firewall configuration step when connecting a remote Nextcloud's user_ldap
2022-06-27 11:00:36 -04:00
downtownallday
5c5d5c2aff
Add a major upgrade test - bionic to jammy
2022-06-26 22:16:04 -04:00
downtownallday
6255ecb2f3
Include postfix, dovecot, opendkim in preloaded vm
2022-06-26 22:13:16 -04:00
downtownallday
f05fa8ba01
Simplify alternate repo/branch installation
2022-06-26 22:10:47 -04:00
downtownallday
5de40fc9b1
Fixes for upgrading nextcloud; update calendar and contacts version
2022-06-26 22:04:05 -04:00
downtownallday
33d81e56ae
Changed rcmcarddav release containing fix for guzzlehttp dependency
2022-06-26 21:55:51 -04:00
downtownallday
1448213eee
Update php version
2022-06-26 21:51:55 -04:00
downtownallday
c47807776b
Update roundcube config for changes introduced in 1.6
2022-06-25 16:56:01 -04:00
downtownallday
9537282203
Roundcube 1.6-rc
...
includes update to rcmcarddav plugin v4.4.1
2022-06-25 12:39:52 -04:00
downtownallday
cb76aec59d
Tests that run php should run the version of php selected by setup
2022-06-25 12:37:11 -04:00
downtownallday
fd44210ee7
Fix undefined variable 'val'
2022-06-25 12:35:03 -04:00
downtownallday
7c67ad49d0
nsd.log must exist or rsyslog won't write to it
2022-06-24 08:22:38 -04:00
downtownallday
577a39be85
Upgrade to user_external v3.0.0 required for Nextcloud 23+
2022-06-24 07:49:14 -04:00
downtownallday
1c0d9a3221
Allow .local domains as valid email address, which fixes an issue caused by the 'email_validator' python module that was recently updated to version 1.2.1
2022-06-22 19:33:19 -04:00
downtownallday
7bc77f644f
Since JT decided to go with php 8.0 over 8.1, revert to roundcube 1.5.2 for vanilla vagrantfile
2022-06-22 16:22:35 -04:00
downtownallday
c135bf1f77
Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
...
# Conflicts:
# CHANGELOG.md
# README.md
# conf/nginx-top.conf
# management/backup.py
# setup/bootstrap.sh
# setup/management.sh
# setup/nextcloud.sh
# setup/system.sh
# setup/web.sh
# setup/webmail.sh
# setup/zpush.sh
# tests/test_mail.py
2022-06-21 23:58:17 -04:00
Joshua Tauberer
3c3d62ac27
Version 57a
2022-06-19 08:58:09 -04:00