mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Disabling SpamAssassin on Deb12
This commit is contained in:
parent
39a4dffbce
commit
1709e9ae3d
1 changed files with 7 additions and 2 deletions
|
@ -241,8 +241,13 @@ do
|
|||
if [ "$answer" = 'dis spam' ] || [ "$answer" = 'DIS SPAM' ]; then
|
||||
echo "============================="
|
||||
echo "== disabling SpamAssassin"
|
||||
systemctl stop spamassassin.service
|
||||
systemctl disable spamassassin.service
|
||||
if [ "$release" -lt 12 ]; then
|
||||
systemctl stop spamassassin.service
|
||||
systemctl disable spamassassin.service
|
||||
else
|
||||
systemctl stop spamd.service
|
||||
systemctl disable spamd.service
|
||||
fi
|
||||
|
||||
sed -i "s/^SPAMASSASSIN =/#SPAMASSASSIN =/g" /etc/exim4/exim4.conf.template
|
||||
sed -i "s/^SPAM_SCORE =/#SPAM_SCORE =/g" /etc/exim4/exim4.conf.template
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue