Skip to content
Snippets Groups Projects
Commit e15d130e authored by Bob Mottram's avatar Bob Mottram
Browse files

Keep entered proxy line at the end of the file

parent fef5d9bf
No related branches found
No related tags found
No related merge requests found
......@@ -1079,10 +1079,8 @@ function email_smtp_proxy_through_isp {
echo '#';
echo '# see exim4_passwd_client(5) for more documentation';
echo '#';
echo "${isp_smtp_domain_alias_line}";
echo "${isp_smtp_domain}:${isp_smtp_username}:${isp_smtp_password}"; } > /etc/exim4/passwd.client
if [ "${isp_smtp_domain_alias_line}" ]; then
echo "${isp_smtp_domain_alias_line}" >> /etc/exim4/passwd.client
fi
if ! grep -q 'dc_eximconfig_configtype=' /etc/exim4/update-exim4.conf.conf; then
echo "dc_eximconfig_configtype='smarthost'" >> /etc/exim4/update-exim4.conf.conf
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment