Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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 e5ba7f8ceb improve output formatting 2022-04-08 06:57:16 -04: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 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 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
downtownallday f5c92d936d Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	setup/webmail.sh
2022-01-11 09:52:34 -05:00
downtownallday 8392eacd94 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2021-12-28 08:59:09 -05:00
downtownallday d9cd7d2002 Add a setup mod to configure unattended-upgrades to email root on failures 2021-12-15 09:03:58 -05:00
downtownallday 177fd19b9b Increase session lifetime from 10 minutes to 1 hour 2021-12-05 16:22:12 -05:00
downtownallday 6c24a130b9 Display common name in the directory 2021-12-05 16:11:48 -05:00
downtownallday d2c4be41e0 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2021-12-02 06:10:01 -05:00
downtownallday 250a53c025 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2021-11-27 14:22:13 -05:00
downtownallday 1828538646 Refresh script for latest roundcube carddav plugin
Belongs with last commit...
2021-11-15 16:08:43 -05:00
downtownallday 06216876a2 Update roundcube carddav plugin to support roundcube 1.5 and close a security hole 2021-11-15 16:07:54 -05:00
downtownallday 334c7f71b5 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2021-11-13 19:36:00 -05:00
downtownallday 229a9c6d95 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2021-10-28 21:40:05 -04:00
downtownallday 3bb6f021a7 Fix tests that were broken by commit bb54370 2021-10-27 08:20:07 -04:00
downtownallday db8e0fdf66 Remove /etc/ldap/ldap.conf creation as it's now created by the Nextcloud docker image 2021-10-27 08:19:32 -04:00
downtownallday 4767afe8de Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2021-10-26 23:05:35 -04:00
downtownallday bb543700f5 Fix smart host alias (alias with no forward to's). Postfix recently started rejecting these mails with "Sender address rejected: domain not found". This ensures the special case is handled properly. 2021-10-19 08:15:28 -04:00
downtownallday 00805cb52c Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
2021-10-19 07:11:33 -04:00
downtownallday e3bc8b1a41 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2021-10-15 18:49:48 -04:00
downtownallday 31dc96757c Add help text 2021-10-02 10:10:06 -04:00
downtownallday 66ac35871e Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
Upstream is adding handling for utf8 domains by creating a domain alias @utf8 -> @idna. I'm deviating from this approach by setting multiple email address (idna and utf8) per user and alias where a domain contains non-ascii characters. The maildrop (mailbox) remains the same - all mail goes to the user's mailbox regardless of which email address was used. This is more in line with how other systems (eg. active directory), handle multiple email addresses for a single user.

# Conflicts:
#	README.md
#	management/mailconfig.py
#	management/templates/index.html
#	setup/dns.sh
#	setup/mail-users.sh
2021-10-01 17:43:48 -04:00
downtownallday 4403e65053 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2021-09-23 17:11:53 -04:00
downtownallday 763cdfcd7e remove /admin/me call, which is no longer available, and use the new api_credentials Object, which used to be a String.
add X-Requested-With header to requests so 401's are not returned by daemon.py.
2021-09-14 10:00:17 -04:00
downtownallday 9ea03e18c9 automatically install avahi for systems with a .local tld 2021-09-14 09:56:19 -04:00
downtownallday 026115b845 Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2021-09-14 08:37:22 -04:00
downtownallday 4b285c3201 Prepare for multiple base system support and automatically update and remove stale vagrant boxes 2021-09-14 08:20:37 -04:00
downtownallday 3d32dbab22 Explicitly create a /etc/ldap/ldap.conf in the docker image so ldap tools recognize the system's trusted root certificate list 2021-09-14 08:18:53 -04:00
downtownallday 3f2b2ef146 Stop the capture daemon during ehdd shutdown to avoid "busy" mount 2021-09-14 08:17:21 -04:00
downtownallday 402207714b Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	management/auth.py
#	management/daemon.py
#	management/templates/index.html
#	setup/management.sh
2021-09-14 08:16:08 -04:00
downtownallday 4bf71e68be Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox 2021-08-23 17:48:17 -04:00
Downtown Allday 72039a1409 Merge pull request #15 from downtownallday/github-actions
GitHub actions
2021-08-23 17:19:54 -04:00
downtownallday 4f8697c07d change badge link 2021-08-23 16:57:40 -04:00
downtownallday 71526bc294 Add badge 2021-08-23 16:39:36 -04:00
downtownallday be932af813 git remote url does not contain .git extension in github actions 2021-08-23 16:17:07 -04:00
downtownallday 0876a9a7de non-standard git remotes in github actions 2021-08-23 16:01:16 -04:00
downtownallday 0c2c76a6dc Patch upstream to install php-xml instead of php-xsl 2021-08-23 15:17:33 -04:00
downtownallday 2a9fcd7101 add upgrade-from-upstream job 2021-08-23 15:00:31 -04:00
downtownallday c29eb2fb23 add 127.0.1.1 if it does not exist 2021-08-23 14:31:31 -04:00
downtownallday f8a679b9c2 ensure system hostname is resolvable locally 2021-08-23 14:15:18 -04:00
downtownallday 71d3b79965 avoid installing php-xsl, which is a virtual package provided by php-xml on github images 2021-08-23 13:45:25 -04:00
downtownallday bad57e8688 Try running update-alternatives for php 7.2 as before system-setup 2021-08-23 13:25:32 -04:00
downtownallday d8c52fedc5 Try using nanasess/setup-php action to resolve issue where setup/webmail.sh, which runs the roundcubemail/bin/updatedb.sh script, fails with "Unsupported PHP version. Required PHP >= 5.4 and < 8.0" indicating that PHP >= 8.0 is actually installed! 2021-08-23 12:58:42 -04:00
downtownallday 5911f05f89 use sudo 2021-08-23 12:11:27 -04:00
downtownallday c855133c41 fix formatting 2021-08-23 12:03:22 -04:00
downtownallday 7fd1f0ae31 Initial commit 2021-08-23 11:40:22 -04:00