X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=all_new_2018%2Fsetup_mail.sh;h=60eda3164151d63d8ffedf041186072defba7eb4;hb=c63f58ca5f80064da6ac82a92770ebd791e1c171;hp=18d7c310719bc5aea4b2eab8f83e15e2ebe9eba5;hpb=6ebf7555f45713e31593ebf15c16624965b6c39f;p=config diff --git a/all_new_2018/setup_mail.sh b/all_new_2018/setup_mail.sh index 18d7c31..60eda31 100755 --- a/all_new_2018/setup_mail.sh +++ b/all_new_2018/setup_mail.sh @@ -31,6 +31,7 @@ fi # Link and adapt mail-server-specific /etc/ files. ./hardlink_etc.sh mail +sed -i "s/REPLACE_maildomain_ECALPER/${mail_domain}/g" /etc/mailutils.conf sed -i "s/REPLACE_Domain_ECALPER/${mail_domain}/g" /etc/opendkim.conf sed -i "s/REPLACE_Selector_ECALPER/${dkim_selector}/g" /etc/opendkim.conf sed -i "s/REPLACE_myhostname_ECALPER/$(hostname -f)/g" /etc/postfix/main.cf