From 2ef9513d176a6a1464a4038ee6517582b1237c11 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 1 Oct 2014 13:07:56 +0100 Subject: [PATCH] newaliases --- install-freedombone.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 3acc68be..4700ded8 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -1706,7 +1706,7 @@ function create_public_mailing_list { adduser --system mlmmj # create the list - mlmmj-make-ml -a -L "$PUBLIC_MAILING_LIST" -c mlmmj + mlmmj-make-ml -a -L "$PUBLIC_MAILING_LIST" -c mlmmj -z echo 'mlmmj_router:' > /etc/exim4/conf.d/router/750_exim4-config_mlmmj echo ' driver = accept' >> /etc/exim4/conf.d/router/750_exim4-config_mlmmj @@ -1745,6 +1745,7 @@ function create_public_mailing_list { sed -i 's/domains = ! +local_domains/domains = ! +mlmmj_domains : ! +local_domains/g' /etc/exim4/conf.d/router/200_exim4-config_primary fi service exim4 restart + newaliases mailinglistrule $MY_USERNAME "$PUBLIC_MAILING_LIST" "$PUBLIC_MAILING_LIST"