diff --git a/src/freedombone-utils-onion b/src/freedombone-utils-onion index 525c8c3f..41772866 100755 --- a/src/freedombone-utils-onion +++ b/src/freedombone-utils-onion @@ -38,7 +38,7 @@ function add_email_hostname { extra_email_hostname="$1" email_hostnames=$(grep "dc_other_hostnames" /etc/exim4/update-exim4.conf.conf | awk -F "'" '{print $2}') if [[ "$email_hostnames" != *"$extra_email_hostname"* ]]; then - sed -i "s|dc_other_hostnames=.*|dc_other_hostnames='$email_hostnames;extra_email_hostname'|g" /etc/exim4/update-exim4.conf.conf + sed -i "s|dc_other_hostnames=.*|dc_other_hostnames='$email_hostnames;$extra_email_hostname'|g" /etc/exim4/update-exim4.conf.conf update-exim4.conf dpkg-reconfigure --frontend noninteractive exim4-config systemctl restart saslauthd