Commit Graph
100 Commits
Author SHA1 Message Date
downtownallday c816669073 Even though smtpd is not chrooted, move auth socket back to postfix's chroot/working directory anyway. 2023-10-06 05:48:52 -04:00
downtownallday 7abd7b3da6 Tighten permissions of the shared postfix/dovecot auth socket 2023-10-05 21:53:46 -04:00
Downtown Allday 5c4c75c111 Merge pull request #22 from downtownallday/move-postfix-queue-to-user-data
Move postfix queue to user data
2023-10-05 18:21:30 -04:00
downtownallday bc2bc02a57 Add a setup mod to move postfix queue to /home/user-data 2023-10-05 17:58:26 -04:00
downtownallday f9f39d7715 Move dovecot auth socket location from postfix's directory to dovecot's 2023-10-05 17:57:46 -04:00
downtownallday 2fb73c7cfe v64 2023-09-02 20:00:57 -04:00
downtownallday c0c4275c12 Add copyright 2023-09-02 19:59:33 -04:00
downtownallday b11309b624 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2023-09-02 19:58:38 -04:00
downtownallday 8e4c48bae1 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	management/backup.py
2023-09-02 16:44:42 -04:00
downtownallday 5fc9edb3d7 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2023-09-02 07:19:32 -04:00
downtownallday 202f1c37d2 fix for duplicity 2.1.0 2023-08-29 17:40:56 -04:00
downtownallday 6ba5e9045d v63 2023-08-02 08:32:16 -04:00
downtownallday af3357cd46 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2023-08-02 08:30:08 -04:00
downtownallday 3774a78b03 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	setup/nextcloud.sh
2023-06-16 17:32:28 -04:00
downtownallday 1aab41e7fe QA: 'name' isn't immutable, so make a copy 2023-05-29 19:45:27 -04:00
downtownallday c66e9f3840 v62 2023-05-21 07:25:45 -04:00
downtownallday d956166164 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2023-05-21 07:23:55 -04:00
Downtown Allday c83716f1e1 Merge pull request #20 from downtownallday/merge-upstream
Merge upstream
2023-05-13 20:45:07 -04:00
downtownallday 27d5aa516e QA: update message matching for changes in z-push 2.7.0 2023-05-13 13:16:15 -04:00
downtownallday 6a7fc1594d Remove z-push hacks 2023-05-13 13:15:00 -04:00
downtownallday 8270f34acb Merge remote-tracking branch 'upstream/main' into merge-upstream
# Conflicts:
#	setup/webmail.sh
2023-05-13 12:29:18 -04:00
downtownallday 34bee7f412 Merge remote-tracking branch 'upstream/main' into merge-upstream
# Conflicts:
#	management/templates/index.html
#	setup/nextcloud.sh
#	setup/webmail.sh
2023-05-13 08:28:29 -04:00
downtownallday dc30558833 tests: fix logout sequence for nc 26 2023-04-20 09:59:17 -04:00
downtownallday 037b1b7570 capture failed ui test screenshot 2023-04-20 08:55:02 -04:00
downtownallday a3e446b7c6 workaround occasional logwatch hang 2023-04-20 08:22:05 -04:00
downtownallday 5ae1aeac95 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2023-03-13 17:34:12 -04:00
downtownallday dabb3e27ba v61.1 2023-01-29 10:43:51 -05:00
downtownallday da0506a1d7 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2023-01-29 10:41:53 -05:00
downtownallday f4fc071bb2 v61 2023-01-25 08:51:58 -05:00
downtownallday 3c3cd89a13 mods: update copyright 2023-01-25 08:50:19 -05:00
downtownallday 9f5ddc284a Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2023-01-25 08:49:12 -05:00
downtownallday 190d7195d3 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
The roundcube password plugin is not disabled.

# Conflicts:
#	management/utils.py
#	setup/start.sh
#	setup/system.sh
#	setup/webmail.sh
#	tools/editconf.py
2023-01-15 20:35:08 -05:00
downtownallday aaff2eebcf setup: copy custom logwatch services and conf, if available 2023-01-07 20:36:04 -05:00
downtownallday eab4f80858 qa: open ldaps and accept cloudinabox email to ease testing 2022-12-29 21:20:29 -05:00
downtownallday f8bba1b2b8 setup: tighten permissions to setup mods backup in user-data 2022-12-02 15:24:21 -05:00
downtownallday e0a237c857 Fixes #17: start services after unattended upgrades 2022-12-02 15:09:29 -05:00
downtownallday 36b5a31e82 setup: backup and restore setup mods 2022-11-20 09:08:50 -05:00
downtownallday b810417676 management: fix crash when entering catch-all alias with no forward-to 2022-11-20 09:07:49 -05:00
downtownallday 7cf55db865 mod: protect the coturn turnserver secret 2022-11-14 17:38:35 -05:00
downtownallday 2114b9a5d2 mods: make the logwatch setup mod cloud-in-a-box friendly 2022-11-14 09:22:48 -05:00
downtownallday 60494e0585 dns: set the remote nextcloud port in *davs._tcp records 2022-11-13 14:08:18 -05:00
downtownallday 44f2aed9e1 ios: set the caldav and carddav hostnames in the mobileconfig plist to that of the remote nextcloud 2022-11-13 13:35:15 -05:00
downtownallday e5eb7680ae dns: ensure _caldavs._tcp and _carddavs._tcp SRV records point to the remote nextcloud 2022-11-13 12:45:38 -05:00
downtownallday 36bdb836ae qa: give shutdown more time to unmount the encrypted drive
lsof reveals that nextcloud's cron job (owncloud/cron.php), if running when shutdown.sh is called, holds the owncloud.db sqlite database open and prevents the umount from succeeding. This change will give it more time to complete.
2022-11-10 14:56:46 -05:00
Downtown Allday a4bc0bb1f2 Merge pull request #19 from downtownallday/browser-tests
Add Roundcube QA tests
2022-11-10 11:45:07 -05:00
downtownallday 49bcf7ba59 qa: add support for Nextcloud 25 2022-11-10 10:20:54 -05:00
downtownallday b4624b35eb qa: add core code for browser-based testing and tests for changing user passwords and adding contacts in roundcube 2022-11-09 23:08:25 -05:00
downtownallday c743ebe606 zpush: add the latest z-push hack for php 8.0 2022-11-06 08:13:44 -05:00
downtownallday 29b1c29a35 setup: update mods.available/README.md wording 2022-11-06 08:05:32 -05:00
downtownallday 4b50572dc9 testing: output elapsed time for provisioning 2022-11-06 07:56:47 -05:00
downtownallday 2ac391796e setup: add a setup mod to attach a logwatch report to daily status checks emails 2022-11-06 07:02:33 -05:00
downtownallday 93f7a84f44 roundcube: use the ldap_simple password driver 2022-11-06 06:58:29 -05:00
downtownallday 276cecac32 v60.1 2022-10-30 08:48:52 -04:00
downtownallday 2134d44730 Add license 2022-10-30 08:46:12 -04:00
downtownallday 82d756152a Adds a test to ensure dns is functional 2022-10-30 08:23:36 -04:00
downtownallday 4d845a3618 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2022-10-30 08:21:51 -04:00
downtownallday 51ba8d8774 Try to determine what is causing umount to fail by using lsof 2022-10-29 19:34:15 -04:00
downtownallday e4c20641c3 Add a hook in status_checks --show-changes 2022-10-29 10:00:17 -04:00
downtownallday aad837b75e Add setup/enmod.sh to enable setup mods 2022-10-29 09:58:49 -04:00
downtownallday 085bec2e17 install packages in the same order as setup/start.sh 2022-10-29 09:56:35 -04:00
downtownallday a1c8b79c6f Change the default behavior to only prepare jammy unless "all" given on command line 2022-10-29 09:55:51 -04:00
downtownallday 7fa070aed8 avoid using PYTHONPATH to enable setup mod hooks, which is problematic for managment command line tool use
- save the directory path to setup mods in /etc/mailinabox.conf
- dynamically add the path to python during hook initialization
2022-10-24 16:24:44 -04:00
downtownallday bb969f16ae avoid prematurely termination of the processing pool 2022-10-24 06:44:59 -04:00
downtownallday cac796a5bb Enable compression for wget downloads.
This fixes an issue where unless compression=auto (or compression=gzip) is specified, using wget to download jquery.min.js by setup/management.sh fails with max redirects exceeded.
The man page says --compression is an experimental option, but it doesn't appear to have any problems.
Note that downloading jquery.min.js with curl works fine when wget without --compression fails.
2022-10-20 17:02:04 -04:00
downtownallday c787437317 Add a setup mod to install roundcube's "larry" skin, which was removed with roundcubemail version 1.6 2022-10-16 15:16:02 -04:00
downtownallday 06495298c9 honor STORAGE_ROOT if already set 2022-10-14 15:03:12 -04:00
downtownallday 1a0b94c878 restore backup: don't automatically unmount an ehdd drive 2022-10-14 15:02:44 -04:00
downtownallday 16679aa5ac preloaded: add support for clone at commit 2022-10-14 14:18:34 -04:00
downtownallday e636e63862 Setup fixes
1. Autodetect encryption-at-rest and run the correct setup in boostrap and /usr/local/bin/mailinabox
2. Fix bug where directories in the local mod folder are improperly executed causing setup to fail
3. Add a remote_nextcloud.sh setup mod cleanup function for cleaner removal of the mod
2022-10-14 09:27:24 -04:00
downtownallday 14a4f34d39 Clarify wording 2022-10-13 19:13:06 -04:00
downtownallday 9e5ce3e681 Enable "bootstrap" installs 2022-10-13 18:58:44 -04:00
downtownallday 9b62b5dc1a Use an explicit php exectable and package if specified by environment variables 2022-10-13 09:27:58 -04:00
downtownallday f38e275734 Changes for v60 - initial Jammy Jellyfish release 2022-10-12 08:46:34 -04:00
downtownallday 2f19ec19da Update tags now that upstream has merged jammy branch 2022-10-12 08:22:05 -04:00
downtownallday a9d34441fa Update hashes to match upstream's use of github/nextcloud-releases 2022-10-12 08:20:44 -04:00
downtownallday caf95b1efe Apply license 2022-10-12 07:18:30 -04:00
downtownallday ec2c878360 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204 2022-10-12 06:57:37 -04:00
downtownallday d786fa2790 Hide apt output when installing duplicity 2022-10-11 08:19:51 -04:00
downtownallday 26fa200014 Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
# Conflicts:
#	setup/management.sh
#	setup/nextcloud.sh
2022-10-09 09:30:12 -04:00
downtownallday cc54379ed2 Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
# Conflicts:
#	management/backup.py
2022-09-29 11:10:16 -04:00
downtownallday 9a381961c5 setting permissions on mail.log fixes the github actions failure for upgrade-to-upstream - this is just clean up 2022-09-22 18:31:59 -04:00
downtownallday 35aa9f7691 try setting mail.log permissions during setup 2022-09-22 18:06:03 -04:00
downtownallday c9eb90800b flush logs on other log scanning functions 2022-09-22 17:34:22 -04:00
downtownallday 4531c90434 restart rsyslogd on GITHUB_ACTIONS=true instead of HUP 2022-09-22 16:56:24 -04:00
downtownallday 86a61a7b12 try to deal with the flurry of messages from rsyslogd after a HUP on github actions 2022-09-22 15:53:45 -04:00
downtownallday e0f2ba84e2 update .gitignore 2022-09-22 13:41:42 -04:00
downtownallday 9b92b394f4 change wording 2022-09-22 13:38:17 -04:00
downtownallday f71b5f3229 Add additional vagrant definition that automatically connects to a cloudinabox 2022-09-22 11:10:16 -04:00
downtownallday 892c33af07 Automatically install .emacs on test vms 2022-09-22 11:08:46 -04:00
downtownallday f6e9fd628c Hide the output from apt-get unless an error occurs 2022-09-22 11:08:02 -04:00
downtownallday 68bc176b00 Don't add firewall rules for the remote nextcloud if it's not accessible 2022-09-22 11:07:34 -04:00
downtownallday 912b78bb47 Change the remote_nextcloud web_update hook handler strategy 2022-09-22 09:35:50 -04:00
downtownallday 2b25111efa Stop postgrey during shutdown 2022-09-21 19:27:38 -04:00
downtownallday 9ac1bdd045 LOCAL_MODS_DIR must be absolute 2022-09-21 19:04:18 -04:00
downtownallday 188eb9bee1 update test to get syslog output 2022-09-21 16:46:38 -04:00
downtownallday a95bfd3e6b Clarify wording on enabling a remote nextcloud 2022-09-21 15:53:08 -04:00
downtownallday 53cbabac75 Fix url redirection when a remote nextcloud is used so that .well-known/caldav and carddav work properly, as well as the redirecting /cloud to the remote Nextcloud. Since the nginx config is replaced by the management daemon whenever a new domain is added, this change adds a hooking mechanism for setup mods.Fix url redirection when a remote nextcloud is in use. This corrects redirection for /.well-known/caldav, /.well-known/carddav and /cloud to send the client to the remote nextcloud. This requires an nginx configuration change, and since the nginx config is replaced by the management daemon whenever a new domain is added, this change adds a hooking mechanism for setup mods allowing them to intercept and modify the resultant nginx config. 2022-09-21 15:52:47 -04:00
downtownallday dae697e6af fix case where value is None 2022-09-21 09:07:23 -04:00
downtownallday ae0c69f3b9 disable postgrey when using encryption-at-rest. the postgrey database will be moving to user-data 2022-09-21 09:06:52 -04:00
downtownallday 65a3c7e243 Correct dav paths 2022-09-20 22:16:51 -04:00