diff --git a/install/vst-install-debian.sh b/install/vst-install-debian.sh index d8cb251d..b4f5e0cc 100755 --- a/install/vst-install-debian.sh +++ b/install/vst-install-debian.sh @@ -1545,6 +1545,9 @@ if [ "$spamd" = 'yes' ]; then else currentservice='spamd' fi + echo "=== Patching spamassassin dns_server" + sed -i "s/report_safe 1/report_safe 1\n\ndns_server 127.0.0.1/g" /etc/spamassassin/local.cf + wget -nv -O /etc/spamassassin/barracuda.cf http://c.myvestacp.com/tools/spamassassin/barracuda.cf ensure_startup $currentservice systemctl restart $currentservice