mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
Patching spamassassin dns_server
This commit is contained in:
parent
c41a540494
commit
ac98e1d9aa
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue