Commit Graph
100 Commits
Author SHA1 Message Date
Michael Kroes b79550c0d5 Merge remote-tracking branch 'upstream/master' 2019-11-23 15:22:39 +01:00
Michael Kroes 91638c7fe0 Removed the postgrey option that specifies which whitelist file to use. This allows the usage of a .local verion (#1675) 2019-11-23 07:58:29 -05:00
Michael Kroes ff8170d5ab Align nextcloud cron job with recommended settings (#1680) 2019-11-23 07:51:22 -05:00
Michael Kroes 0771866911 Merge branch 'nextcloudcron' 2019-11-19 15:42:33 +01:00
Michael Kroes ce8857e4c0 Align nextcloud cron job with recommended settings 2019-11-19 15:41:45 +01:00
Michael Kroes 6514482687 Merge branch 'php-fpm-nextcloud' 2019-11-19 12:59:03 +01:00
Michael Kroes 97829f6755 Moved php-fpm configuration to web.sh 2019-11-19 12:58:47 +01:00
Michael Kroes 3b3cf4fc16 Merge branch 'php-fpm-nextcloud' 2019-11-19 09:57:36 +01:00
Michael Kroes 188d4749be Implement nextcloud php-fpm recommended performance tuning settings 2019-11-19 09:57:10 +01:00
Michael Kroes 5c7bcdc33c Merge branch 'nextcloud17' 2019-11-17 07:58:07 +01:00
Michael Kroes 2f0ded40fb Upgraded Nextcloud to 17 2019-11-17 07:57:36 +01:00
Michael Kroes 6cdca6c679 Merge remote-tracking branch 'origin/pr/1674' 2019-11-13 14:28:01 +01:00
Michael Kroes ca07ced0b0 Updated postgrey whitelist 2019-11-13 11:40:44 +01:00
Michael Kroes abc0e6195b Merge branch 'postgreyfix' 2019-11-13 11:33:55 +01:00
Michael Kroes f2a0581a0b Removed the postgrey option that specifies which whitelist file to use. This allows the usage of a .local verion 2019-11-13 11:33:33 +01:00
Michael Kroes f39e872cf7 Align with master 2019-11-13 11:25:49 +01:00
Michael Kroes be1a2c9b28 Merge remote-tracking branch 'upstream/master' 2019-11-13 11:21:11 +01:00
Michael Kroes baf58986d2 Updated postgrey whitelist 2019-10-14 10:10:31 +02:00
Michael Kroes 889118aeb6 Upgraded Nextcloud to 16.0.5 (#1648)
* Upgraded Nextcloud to 16.0.5

* Improved Nextcloud upgrade detection
2019-10-05 16:12:00 -04:00
Michael Kroes 21352466a4 Fixed Nextcloud upgrades 2019-10-04 08:01:00 +02:00
Michael Kroes c97f720af4 Improved Nextcloud upgrade detection 2019-10-04 08:00:00 +02:00
Michael Kroes fc9027ad39 Further remove solr 2019-10-02 08:38:54 +02:00
Michael Kroes 6e03f01b38 Upgraded Nextcloud to 16.0.5 2019-10-01 14:51:37 +02:00
Michael Kroes a7b2f72a2d Upgraded Nextcloud to 16.0.5 2019-10-01 14:42:46 +02:00
Michael Kroes 01c95fd93a Removed solr 2019-10-01 14:00:29 +02:00
Michael Kroes 1d8f9a87a7 Updated postgrey whitelist 2019-09-30 11:41:14 +02:00
Michael Kroes efe50a3f74 Merge remote-tracking branch 'upstream/master' 2019-09-30 11:40:50 +02:00
Michael Kroes 1d6793d124 Update the Postgrey whitelist to a newer version monthly (#1611)
Automatically update the Postgrey whitelist to a newer version once a month.
2019-08-31 08:38:41 -04:00
Michael Kroes 4f7cf47be1 Updated whitelist 2019-08-17 08:56:31 +02:00
Michael Kroes 0b3aa75685 Updated greylist 2019-08-17 07:03:54 +02:00
Michael Kroes a05af43478 Updated postgrey whitelist 2019-08-17 06:36:42 +02:00
Michael Kroes db47bcb94a Updated postgrey whitelist 2019-08-17 06:26:15 +02:00
Michael Kroes 5a8ff5c950 Merge remote-tracking branch 'upstream/master' 2019-08-17 06:25:32 +02:00
Michael Kroes 81f089af18 Update whitelist 2019-07-17 09:02:07 +02:00
Michael Kroes 27763de9c0 Fixed problem with whitelist customisation 2019-07-17 07:37:51 +02:00
Michael Kroes 3d8586702e Update whitelist and check if custom whitelist exists 2019-07-16 21:40:40 +02:00
Michael Kroes b3b02ee91f Merge branch 'postgrey-whitelist' 2019-07-16 19:43:43 +02:00
Michael Kroes 2ecc8dfaf1 Updated the Postgrey whitelist to a newer version, this will be auto updated once a month. 2019-07-16 19:43:24 +02:00
Michael Kroes 2aa2e918f0 Update greylist 2019-07-16 17:52:33 +02:00
Michael Kroes 5f44e22035 Merge branch 'postgrey-whitelist' 2019-07-16 17:07:50 +02:00
Michael Kroes 4aa2047a20 Fixed a bug where a variable was expanded in the cron script and removed the temporary file 2019-07-16 17:06:20 +02:00
Michael Kroes 7b1adb3806 Add custom whitelist 2019-07-16 17:03:04 +02:00
Michael Kroes 1f024e1797 Merge branch 'postgrey-whitelist' 2019-07-16 16:33:02 +02:00
Michael Kroes 33ba538fc1 Updated the Postgrey whitelist to a newer version, this will be auto updated once a month. 2019-07-16 16:24:14 +02:00
Michael Kroes 44378c9aa3 Merge branch 'postgrey-whitelist' 2019-07-16 16:20:38 +02:00
Michael Kroes 83880da906 Changed the postgrey update script to run daily, but check if the file is older than 28 days 2019-07-16 16:20:19 +02:00
Michael Kroes 22fb9fdd59 Merge branch 'postgrey-whitelist' 2019-07-16 13:49:12 +02:00
Michael Kroes f0c8ca3b00 Add the --fail flag to curl when downloading the postgrey whitelist and redirect stdout and stderr to null 2019-07-16 13:48:41 +02:00
Michael Kroes a7134d0974 Merge branch 'postgrey-whitelist' 2019-07-16 13:05:39 +02:00
Michael Kroes 5362155046 Use HTTPS for Postgrey whitelist and use correct silence flags for curl 2019-07-16 13:05:23 +02:00
Michael Kroes a451c35151 Merge branch 'postgrey-whitelist' 2019-07-16 12:18:03 +02:00
Michael Kroes a86a7f6dd5 Updated the Postgrey whitelist to a newer version, this will be auto updated once a month. 2019-07-16 12:14:03 +02:00
Michael Kroes 5b4d1cbf43 Merge remote-tracking branch 'upstream/master' 2019-07-16 12:10:15 +02:00
yodax a9ffacb738 Merge remote-tracking branch 'upstream/master' 2019-01-10 04:22:05 +01:00
yodax 48ed564978 Added a dynamicdns proxy that accepts GET requests and transforms them into PUT requests 2019-01-08 06:53:48 +01:00
Michael Kroes 6eb9055275 Upgrade NextCloud to 13.06 (#1436) 2018-10-09 07:09:54 -04:00
Michael Kroes a0e603a3c6 Change z-push to use the git repository instead of the tar ball (#1305) 2017-12-23 17:51:18 -05:00
Michael Kroes e5448405ae add php7.0-mbstring to webmail.sh (#1268) 2017-10-15 07:53:01 -04:00
Michael Kroes a52c56e571 only set the CN field when generating initial CSR to prevent issues with the php7 ppa version of openssl (#1223)
OpenSSL 1.1.0f now validates the other subject fields and rejects the empty string (for the country?) because it isn't two characters.
2017-07-30 08:11:39 -04:00
Michael Kroes 78f2fe213e Secondary name server could not be set (#1209) 2017-07-21 08:20:37 -04:00
Michael Kroes a16855ecf0 Backup script should now stop php7.0-fpm instead of php5-fpm (#1206) 2017-07-17 09:45:40 -04:00
yodax d773140502 Update to Nextcloud 12 using PHP7
* Install PHP7 via a PPA, enable unattended upgrades for the PPA, and switch all of our PHP configuration to the PHP7 install.
* Keep installing PHP5 for ownCloud/Nextcloud packages because we need it to possibly run transitional updates to ownCloud/Nextcloud versions less than 12. But replace PHP5 packages with PHP7 packages elsewhere.
* Update to Nextcloud 12 which requires PHP7, with a transitional upgrade to Nextcloud 11.0.3.
* Disable TLS cert validation by Roundcube when connecting to localhost IMAP and SMTP. Validation became the default in PHP7 but we don't necessarily have a (non-self-)signed certificate and it definitely isn't valid for the IP address 127.0.0.1.

Merges #1140
2017-07-14 06:48:22 -04:00
Michael Kroes 2c324d0bc9 web_domains should also normalize ipv6 addresses (#1201) 2017-07-13 07:16:12 -04:00
Michael Kroes e49c99890b fetch whole bootstrap - fixes missing icons in admin (#1185) 2017-05-31 07:36:17 -04:00
Michael Kroes 1d9f9ea617 Fix two typos in setup/owncloud.sh regarding the setting of the hostname (#1172) 2017-05-08 07:23:59 -04:00
Michael Kroes fbb38c3881 Add changelog for custom dns CAA records (#1173) 2017-05-08 07:23:12 -04:00
Michael Kroes d2b7204319 Add support for adding a custom "CAA" DNS record (#1155) 2017-04-30 08:58:00 -04:00
Michael Kroes 68ebca8a15 Update Z-Push to 2.3.6 (#1166) 2017-04-30 07:24:36 -04:00
Michael Kroes 416dbebf45 update z-push to 2.3.5 on the upstream repository z-push.org (#1153) 2017-04-17 07:42:44 -04:00
yodax b66f12dd4c Fix rsync backup. The path was not append properly 2017-04-17 07:25:47 -04:00
yodax 6e04eb490f Add check to prevent division by zero during backup status 2017-04-17 07:25:47 -04:00
Michael Kroes cd39c2b53f Merge pull request #1151 from phol/master
Corrected typo in setup/dns.sh
2017-04-10 18:52:38 +02:00
Michael Kroes a072730fb8 Wrap normalize_ip in try..except (#1139)
closes #1134
2017-04-03 16:53:53 -04:00
Michael Kroes 41601a592f Improve error handling when doing update checks (#1065)
* Added an error message to handle exceptions when the setup script is trying to determine the latest Miab version
2017-01-15 10:35:33 -05:00
Michael Kroes 3af5e55035 Upgrade to ownCloud 9.1.2 (#1010)
* Update owncloud to 9.1.2

* Upgrade to ownCloud 9.1.2 from 9.1.1 would fail because the guid of 9.1.1 matched with the regex for the version of 8.x
2016-11-30 12:54:27 -05:00
Michael Kroes c3605f6211 Check if update-manager release-upgrades configuration file is present before editing (#996) 2016-11-13 17:36:33 -05:00
yodax 3b78a8d9d6 If ufw isn't installed on the machine the status checks shouldn't fail 2016-11-12 09:25:34 -05:00
Michael Kroes 2b00478b8b Check if apc is disabled during ownCloud setup, if so enable it (#983) 2016-10-24 07:59:34 -04:00
Michael Kroes 155bcfc654 Add ownCloud 9.1.1 to the changelog (#984) 2016-10-21 10:12:46 -04:00
Michael Kroes 2151d81453 update to ownCloud 9.1.1 (with intermediate upgrades) (#894)
[this is a squashed merge from-]

* Install owncoud 9.1 and provide an upgrade path from 8.2. This also disables memcached and goes with apc. The upgrade fails with memcached.

* Remove php apc setting

* Add dav migrations for each user

* Add some comments to the code

* When upgrading owncloud from 8.2.3 to 9.1.0 the backup of 8.2.3 was overwritten when going from 9.0 to 9.1

* Add upgrade path from 8.1.1. Only do an upgrade check if owncloud was previously installed.

* Stop php5-fpm before owncloud upgrade to prevent database locks

* Fix fail2ban tests for owncloud 9

* When upgrading owncloud copy the database to the user-data/owncloud-backup directory

* Remove not need unzip directives during owncloud extraction. Directory is removed beforehand so a normal extraction is fine

* Improve backup of owncloud installation and provide a post installation restore script. Update the owncloud version number to 9.1.1. Update the calendar and contacts apps to the latest versions

* Separate the ownCloud upgrades visually in the console output.
2016-10-18 06:04:13 -04:00
Michael Kroes fd6226187a lower memory requirements to 512MB, display a warning if system memory is below 768MB. (#952) 2016-10-15 15:41:25 -04:00
Michael Kroes a658abc95f Fix status checks for ufw when the system doesn't support iptables (#961) 2016-10-08 14:35:19 -04:00
yodax da5497cd1c Update changelog entries 2016-09-28 08:37:24 +02:00
Michael Kroes a27ec68467 Merge pull request #951 from MariusBluem/remove-certificate-providers
Remove Certificate Providers / Fix #950
2016-09-28 08:33:11 +02:00
Michael Kroes 02feeafe6a change bayes_file_mode to world writable (merges #931)
fixes #534, again, hopefully
2016-09-23 15:14:21 -04:00
Michael Kroes 9c8f2e75fc allow i686 as a supported architecture
This is checked during preflight. See https://github.com/mail-in-a-box/mailinabox/issues/885 (#889)
2016-07-29 09:07:16 -04:00
Michael Kroes 4e3cfead46 Add HSTS to the control panel headers (#879) 2016-07-29 09:01:40 -04:00
Michael Kroes fb14e30feb Remove owncloud log configuration from initial setup and only apply it during the configuration updates. This applies to both the timezone and the log format 2016-06-27 06:03:24 -04:00
Michael Kroes d9ac321f25 Owncloud needs more time to detect blocks. It doesn't respond as fast as the other services. Also owncloud logs UTC (since latest update) even though the timezone is not UTC. Also to detect a block, we get a timeout instead of a refused) 2016-06-27 06:03:19 -04:00
Michael Kroes bf5e9200f8 Update owncloud url to use webdav and increase http timeout 2016-06-27 06:03:14 -04:00
Michael Kroes 01fa8cf72c add fail2ban jails for ownCloud, postfix submission, roundcube, and the Mail-in-a-Box management daemon
(tests squashed into this commit by josh)
2016-06-06 09:13:10 -04:00
Michael Kroes 736b3de221 Improve matching of ufw output. Reuse network service list. Improve messages 2016-04-07 16:03:28 +02:00
Michael Kroes 42f2e983e5 Merge branch 'master' into ufw_status_check 2016-04-07 15:13:59 +02:00
Michael Kroes bc40134b7b Remove comment about loopback interface 2016-04-07 10:55:20 +02:00
Michael Kroes 3649ba1ce9 Merge branch 'master' into hostname 2016-04-07 10:54:53 +02:00
Michael Kroes c9f30e8059 Add status checks for ufw 2016-04-02 13:41:16 +02:00
Michael Kroes 3210ccdcac Don't set the hostname on the loopback 127.0.1.1 2016-03-26 15:41:20 +01:00
Michael Kroes c910a58f07 Set the hostname of the box during the setup 2016-03-26 14:15:28 +01:00
Michael Kroes f292e8fc5b Add generic login failed message 2016-03-26 14:06:43 +01:00
Michael Kroes 4d7229ccb0 Add documentation on why the notification was removed from the recidive jail 2016-03-26 13:37:33 +01:00