1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-04 15:54:48 +01:00

Ensure root user has a mailbox for sendmail -bv delivery report

This commit is contained in:
downtownallday
2020-06-11 06:45:49 -04:00
parent 4113ed8501
commit 6baf4993db
6 changed files with 8 additions and 13 deletions

View File

@@ -79,8 +79,9 @@ before_miab_install() {
fi
# install prerequisites
H2 "QA prerequisites"
install_qa_prerequisites || die "Error installing QA prerequisites"
H2 "QA pre-setup prerequisites"
install_pre_setup_qa_prerequisites \
|| die "Error installing QA prerequisites"
# enable the remote Nextcloud setup mod, which tells MiaB-LDAP to use
# the remote Nextcloud for calendar and contacts instead of the
@@ -197,9 +198,6 @@ after_miab_install() {
"$PRIMARY_HOSTNAME" \
"$LDAP_NEXTCLOUD_PASSWORD" \
|| die "docker: error running remote-nextcloud-use-miab.sh"
# re-add systemd name resolver as a secondary nameserver
echo "nameserver 127.0.0.53" >> /etc/resolv.conf
}

View File

@@ -186,7 +186,7 @@ install_docker() {
}
install_qa_prerequisites() {
install_pre_setup_qa_prerequisites() {
[ -z "$STORAGE_ROOT" ] \
&& echo "Error: STORAGE_ROOT not set" 1>&2 \
&& return 1