1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-05 00:27:25 +00:00
Commit Graph

2341 Commits

Author SHA1 Message Date
downtownallday
0ef7b33a55 Remove output prefix
It's too difficult to read, especially when getting user input via stdin
2022-06-14 05:39:32 -04:00
downtownallday
c5afd69f50 Update changelog 2022-06-12 17:44:48 -04:00
downtownallday
1f8849021a Update changelog 2022-06-12 17:42:19 -04:00
downtownallday
379ae8ea8c Add .md file extension 2022-06-12 17:22:47 -04:00
downtownallday
639826b97a Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2022-06-12 17:22:13 -04:00
Joshua Tauberer
2aca421415 Version 57 2022-06-12 08:18:42 -04:00
Joshua Tauberer
99474b348f Update backup to be compatible with duplicity 0.8.23
We were using duplicity 0.8.21-ppa202111091602~ubuntu1 from the duplicity PPA probably until June 5, which is when my box automatically updated to 0.8.23-ppa202205151528~ubuntu18.04.1. Starting with that version, two changes broke backups:

* The default s3 backend was changed to boto3. But boto3 depends on the AWS SDK which does not support Ubuntu 18.04, so we can't install it. Instead, we map s3: backup target URLs to the boto+s3 scheme which tells duplicity to use legacy boto. This should be reverted when we can switch to boto3.
* Contrary to the documentation, the s3 target no longer accepts a S3 hostname in the URL. It now reads the bucket from the hostname part of the URL. So we now drop the hostname from our target URL before passing it to duplicity and we pass the endpoint URL in a separate command-line argument. (The boto backend was dropped from duplicity's "uses_netloc" in 74d4cf44b1 (f5a07610d36bd242c3e5b98f8348879a468b866a_37_34), but other changes may be related.)

The change of target URL (due to both changes) seems to also cause duplicity to store cached data in a different directory within $STORAGE_ROOT/backup/cache, so on the next backup it will re-download cached manifest/signature files. Since the cache directory will still hold the prior data which is no longer needed, it might be a good idea to clear out the cache directory to save space. A system status checks message is added about that.

Fixes #2123
2022-06-12 08:17:48 -04:00
Joshua Tauberer
8bebaf6a48 Simplify duplicity command line by omitting rsync options if the backup target type is not rsync 2022-06-11 15:12:31 -04:00
downtownallday
6ff93bb87e add miab directory as 'safe' for git 2022-06-05 21:34:59 -04:00
downtownallday
ee8d627c3b Improve formatting of setup output 2022-06-05 21:34:52 -04:00
downtownallday
eb83732000 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2022-06-05 20:24:28 -04:00
downtownallday
48be363815 Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204 2022-06-05 20:22:34 -04:00
downtownallday
f1b904acc6 Enable apcu cli, required for nextcloud install 2022-06-05 20:21:15 -04: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
Felix Matouschek
e7a6626bf7
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-06-05 09:38:56 -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
downtownallday
5caaab9a8f Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2022-05-04 17:15:45 -04: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
Joshua Tauberer
8f42d97b54
Merge pull request #2109 from lamberete/main 2022-05-04 17:08:48 -04:00
downtownallday
6dbab427f9 enable nextcloud installation 2022-05-04 11:20:54 -04:00
downtownallday
91ecf6e8d6 nextcloud 24 2022-05-04 11:20:07 -04:00
downtownallday
e57e1a6252 add miab directory as 'safe' for git 2022-05-04 11:19:46 -04:00
downtownallday
05b135ba73 support nextcloud release candidate downloads 2022-05-04 10:44:44 -04:00
downtownallday
ee1ffbdb21 Workaround vagrant's inability to authenticate during vagrant up (but can authenticate with vagrant ssh) 2022-04-09 18:55:11 -04:00
downtownallday
9b0da60c24 Fix detection of installed nc app
The script erroneously determined the contacts app was installed because it matched "contactsintegration"
2022-04-09 07:18:22 -04:00
downtownallday
70475cc294 Allow the nextcloud service account to be able to change user account passwords.
This should be removed once Nextcloud Server iss 18406 is fixed.
2022-04-08 10:05:34 -04:00
downtownallday
e5ba7f8ceb improve output formatting 2022-04-08 06:57:16 -04:00
lamberete
6e40c69cb5
Error message using IPv4 instead of failing IPv6.
One of the error messages around IPv6 was using the IPv4 for the output, making the error message confusing.
2022-03-26 13:50:24 +01:00
lamberete
c0e54f87d7
Sorting ds records on report.
When building the part of the report about the current DS records founded, they are added in the same order as they were received when calling query_dns(), which can differ from run to run. This was making the difflib.SequenceMatcher() method to find the same line removed and added one line later, and sending an Status Checks Change Notice email with the same line added and removed when there was actually no real changes.
2022-03-26 13:45:49 +01:00
downtownallday
98f4e5b2fc Add a changelog of commits for each release 2022-03-06 17:42:51 -05:00
downtownallday
462e628e34 Fix pip execution 2022-03-06 10:54:09 -05:00
downtownallday
8e58a78b94 Upgrade system packages during system-setup 2022-03-06 10:53:53 -05:00
downtownallday
a6c819eea0 Improve formatting of setup output 2022-03-06 10:53:00 -05:00
downtownallday
b7c7187fa5 Fix the ownership of nsd.log on upgrade 2022-02-28 09:40:28 -05:00
downtownallday
8e3f361d70 Have nsd log to rsyslog only and not both rsyslog and nsd.log.
Have rsyslog populate nsd.log instead.
2022-02-28 09:28:40 -05:00
downtownallday
94f140d528 Prevent duplicate logging of mail-related output by configuring rsyslog to record only to mail.log and not also to syslog 2022-02-28 07:11:58 -05:00
downtownallday
72827f365d Change service and package names referring to php 8.0 to php 8.1 2022-02-25 19:47:30 -05:00
downtownallday
2c6474385e Address issues with postgrey, nsd, and rsyslogd introduced with jammy
1. `systemctl reload postgrey` is broken, so use restart in that case
2. `systemctl restart nsd` succeeds once /var/log is writable by systemd. However, nsd still fails to write to /var/log/nsd.log if the file already exists
3. the default configuration for rsyslogd is to no longer create a /var/run/rsyslogd.pid file, so use /usr/bin/pidof in that case
2022-02-25 19:45:46 -05:00
downtownallday
ad5a647d36 Install latest roundcube (master) which supports php 8.1 2022-02-25 19:38:16 -05:00
downtownallday
15bcf678d9 Fixes to vagrant box creation for jammy 2022-02-25 19:35:25 -05:00
downtownallday
fe2079ee8f Add setup mods for testing the latest version of roundcube 2022-02-25 19:32:29 -05:00
downtownallday
82e203b3ec Fix issue where a postfix/submission connection using TLS on port 465 would be reported as "insecure" 2022-02-08 11:35:27 -05:00
downtownallday
fd2ff00a6e Use persistent_login plugin's "Auth Token" support for Roundcube. The old way was very insecure and is subject to dictionary attack of the unsalted encrypted password stored in a browser cookie. 2022-01-29 15:22:01 -05:00
downtownallday
54dc06416b Periodically clean the roundcube database 2022-01-29 12:19:31 -05:00
downtownallday
c3ac810c19 Add o+x to storage root since jammy's default permissions on new home directories is 0750 and access by other users (daemons) is needed 2022-01-29 11:01:30 -05:00
downtownallday
46e0e6ff39 Get rid of globals.sh 2022-01-29 10:59:02 -05:00
downtownallday
bdeb27c3f3 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2022-01-20 06:58:40 -05:00
Joshua Tauberer
3a7de051ee Version 56 (January 19, 2022) 2022-01-19 16:59:34 -05:00
downtownallday
4e6550ed22 Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
# Conflicts:
#	README.md
#	setup/mail-dovecot.sh
#	setup/system.sh
#	setup/webmail.sh
#	setup/zpush.sh
#	tests/test_mail.py
2022-01-11 16:39:39 -05:00
downtownallday
d6cd4e826c Ensure pip3 is installed before installing email_validator 2022-01-11 09:53:07 -05:00