Bob Mottram 7 jaren geleden
bovenliggende
commit
83b9a9a05f
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      src/freedombone-utils-onion

+ 1
- 1
src/freedombone-utils-onion Bestand weergeven

@@ -38,7 +38,7 @@ function add_email_hostname {
38 38
     extra_email_hostname="$1"
39 39
     email_hostnames=$(grep "dc_other_hostnames" /etc/exim4/update-exim4.conf.conf | awk -F "'" '{print $2}')
40 40
     if [[ "$email_hostnames" != *"$extra_email_hostname"* ]]; then
41
-        sed -i "s|dc_other_hostnames=.*|dc_other_hostnames='$email_hostnames;extra_email_hostname'|g" /etc/exim4/update-exim4.conf.conf
41
+        sed -i "s|dc_other_hostnames=.*|dc_other_hostnames='$email_hostnames;$extra_email_hostname'|g" /etc/exim4/update-exim4.conf.conf
42 42
         update-exim4.conf
43 43
         dpkg-reconfigure --frontend noninteractive exim4-config
44 44
         systemctl restart saslauthd