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

1918 Commits

Author SHA1 Message Date
downtownallday
1f35e9ef91 Move directory setup/mods.d to local 2020-06-11 21:18:05 -04:00
downtownallday
27c1b93bcf Merge branch 'master' of https://github.com/mail-in-a-box/mailinabox
# Conflicts:
#	README.md
#	management/mailconfig.py
#	management/web_update.py
2020-06-11 15:13:40 -04:00
downtownallday
99bb128d60 Investigating occasional test failures. See this in the log:
[ERROR] Jun 11 17:30:15 lmtp(alice@somedomain.com): Error: open(/etc/dovecot/sieve-spam.svbin.box.abc.com.13806.26a2405f731160b1) failed: Read-only file system
[ERROR] Jun 11 17:30:15 lmtp(alice@somedomain.com): Error: GKVhOyZq4l7uNQAAasegNA: sieve: binary save: failed to create temporary file: open(/etc/dovecot/sieve-spam.svbin.) failed: Read-only file system

systemctl service setting for dovecot includes ProtectSystem=full, so /etc will be read-only.

need to understand why sieve is attempting to create a temp file or maybe
move sieve script to /var
2020-06-11 13:47:50 -04:00
Joshua Tauberer
224242dfde Merge v0.46 point release branch 2020-06-11 12:25:49 -04:00
Joshua Tauberer
049bfb6f7f v0.46 2020-06-11 12:23:18 -04:00
Joshua Tauberer
12d60d102b Update Roundcube to 1.4.6
Fixes #1776
2020-06-11 12:21:17 -04:00
Joshua Tauberer
9db2fc7f05 In web proxies, add X-{Forwarded-{Host,Proto},Real-IP} and 'proxy_set_header Host' when there is a flag
Merges #1432, more or less.
2020-06-11 12:20:17 -04:00
Joshua Tauberer
e03a6541ce Don't make autoconfig/autodiscover subdomains and SRV records when the parent domain has no user accounts
These subdomains/records are for automatic configuration of mail clients, but if there are no user accounts on a domain, there is no need to publish a DNS record, provision a TLS certificate, or create an nginx server config block.
2020-06-11 12:20:17 -04:00
Faye Duxovni
41642f2f59 [backport] Fix roundcube error log file path in setup script (#1775) 2020-06-11 12:16:53 -04:00
downtownallday
0e857916eb Update wording 2020-06-11 08:08:31 -04:00
downtownallday
6baf4993db Ensure root user has a mailbox for sendmail -bv delivery report 2020-06-11 06:45:49 -04:00
downtownallday
4113ed8501 Look at resolv.conf this time 2020-06-10 23:16:35 -04:00
downtownallday
2bdb6f6216 Output more host information post-setup 2020-06-10 22:37:46 -04:00
downtownallday
7237f553a4 Revert: still get host not found from postfix (type=A vs type=AAAA) for PRIMARY_HOSTNAME 2020-06-10 22:37:24 -04:00
downtownallday
a9b5350138 Hide sysctl read errors 2020-06-10 22:00:17 -04:00
downtownallday
ae5fbffa40 Attempt at dealing with disabled ipv6 on interfaces 2020-06-10 21:56:49 -04:00
downtownallday
adf7d3ed8d Dump kernel ip6 settings 2020-06-10 17:05:34 -04:00
downtownallday
f1ba09a066 Dump nsswitch 2020-06-10 12:18:10 -04:00
downtownallday
219c3fa020 Need a default value or boom 2020-06-10 11:41:26 -04:00
downtownallday
ab087365c4 Move system-setup directory to tests
Set the hosts FQDN instead of adding hosts entry for private ip
2020-06-10 11:40:44 -04:00
downtownallday
96da15ad27 Add ipv6 address to /etc/hosts 2020-06-10 08:21:45 -04:00
downtownallday
7a12b52f8f Back out prior change, did not fix delivery problem:
"status=bounced (Host or domain name not found. Name service error for name=box.abc.com type=AAAA: Host not found"
2020-06-10 07:50:23 -04:00
downtownallday
64d24566b2 Dump /etc/hosts on travis 2020-06-10 07:49:17 -04:00
downtownallday
f4fda41705 Output formatting changes 2020-06-10 07:21:47 -04:00
downtownallday
8be3011c19 Set smtp_address_preference to any in main.cf 2020-06-10 07:21:26 -04:00
downtownallday
2f1082a290 More debug output 2020-06-10 00:19:59 -04:00
downtownallday
6ed1a2ad20 add foreground color 2020-06-09 23:35:46 -04:00
downtownallday
a098992d1e fix path to nsd.conf 2020-06-09 23:35:13 -04:00
downtownallday
74b2926586 dump nsd.conf 2020-06-09 23:27:20 -04:00
downtownallday
4d99e6021b Move nsd fix for Travis-CI into setup/dns.sh 2020-06-09 23:20:02 -04:00
downtownallday
81c2b75ee4 Simplify networking info dump 2020-06-09 23:19:24 -04:00
downtownallday
38319c90d5 More Travis nsd startup failure issues 2020-06-09 22:52:46 -04:00
downtownallday
f731d7444f Fix typo 2020-06-09 22:52:04 -04:00
downtownallday
0cd9e92566 Try to deal with nsd failure under Travis 2020-06-09 22:45:12 -04:00
downtownallday
e498b47d53 Dump /var/log/syslog when start.sh fails 2020-06-09 22:06:25 -04:00
downtownallday
ca33614cbf Run apt-get update before installing anything 2020-06-09 21:51:01 -04:00
downtownallday
828f9d0185 First attempt at automating tests with a remote Nextcloud under Travis-CI 2020-06-09 21:34:22 -04:00
downtownallday
46e0d7a070 Don't overwrite PRIMARY_HOSTNAME if already set 2020-06-09 21:33:30 -04:00
downtownallday
29fad6106e Update comment 2020-06-09 21:32:49 -04:00
downtownallday
83cb7cbcbe Automated QA tests for remote nextcloud 2020-06-09 20:46:59 -04:00
downtownallday
844ea08845 Additional remote Nextcloud support for port and prefix plus z-push 2020-06-09 20:44:22 -04:00
downtownallday
8082b06bd2 Ensure owncloud directory is accessible 2020-06-09 20:37:08 -04:00
downtownallday
8f2e4d1247 Set miab_ldap.conf variables only if they don't already exist so that the file may be pre-populated 2020-06-09 20:26:40 -04:00
downtownallday
d2f418a363 Use sha1 hash of maildrop instead of a generated UUID 2020-06-09 20:24:46 -04:00
Vasek Sraier
df9bb263dc
daily_tasks.sh: redirect stderr to stdout (#1768)
When the management commands fail, they can print something to the standard error output.
The administrator would never notice, because it wouldn't be send to him with the usual emails.
Fixes #1763
2020-06-07 09:56:45 -04:00
Faye Duxovni
339c330b4f
Fix roundcube error log file path in setup script (#1775) 2020-06-07 09:50:04 -04:00
Marcus Bointon
cfc8fb484c
Add rate limiting of SSH in the firewall (#1770)
See #1767.
2020-06-07 09:47:51 -04:00
downtownallday
81950592a7 Initial remote Nextcloud integration support 2020-06-06 14:06:15 -04:00
downtownallday
a8b1e0c5b7 Minor wording changes 2020-06-06 11:17:42 -04:00
downtownallday
2f8029e983 Merge branch 'master' into EHDD 2020-06-05 12:03:58 -04:00