Bob Mottram 7 anos atrás
pai
commit
83b9a9a05f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/freedombone-utils-onion

+ 1
- 1
src/freedombone-utils-onion Ver arquivo

38
     extra_email_hostname="$1"
38
     extra_email_hostname="$1"
39
     email_hostnames=$(grep "dc_other_hostnames" /etc/exim4/update-exim4.conf.conf | awk -F "'" '{print $2}')
39
     email_hostnames=$(grep "dc_other_hostnames" /etc/exim4/update-exim4.conf.conf | awk -F "'" '{print $2}')
40
     if [[ "$email_hostnames" != *"$extra_email_hostname"* ]]; then
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
         update-exim4.conf
42
         update-exim4.conf
43
         dpkg-reconfigure --frontend noninteractive exim4-config
43
         dpkg-reconfigure --frontend noninteractive exim4-config
44
         systemctl restart saslauthd
44
         systemctl restart saslauthd