mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Merge branch 'master' of github.com:serghey-rodin/vesta
This commit is contained in:
commit
8844f503f4
10 changed files with 148 additions and 113 deletions
|
@ -8,7 +8,7 @@ LocalSocketMode 666
|
|||
# TemporaryDirectory is not set to its default /tmp here to make overriding
|
||||
# the default with environment variables TMPDIR/TMP/TEMP possible
|
||||
User clamav
|
||||
AllowSupplementaryGroups true
|
||||
# AllowSupplementaryGroups true
|
||||
ScanMail true
|
||||
ScanArchive true
|
||||
ArchiveBlockEncrypted false
|
||||
|
|
|
@ -1081,6 +1081,9 @@ if [ "$spamd" = 'yes' ]; then
|
|||
sed -i "s/ENABLED=0/ENABLED=1/" /etc/default/spamassassin
|
||||
service spamassassin start
|
||||
check_result $? "spamassassin start failed"
|
||||
if [[ $(systemctl list-unit-files | grep spamassassin) =~ "disabled" ]]; then
|
||||
systemctl enable spamassassin
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue