mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
fixes for exim antispam/antivirus protection
This commit is contained in:
parent
7d630863ef
commit
3f5f796637
7 changed files with 16 additions and 19 deletions
|
@ -39,10 +39,9 @@ is_object_value_empty 'mail' 'DOMAIN' "$domain" '$ANTISPAM'
|
|||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Adding antispam key to config
|
||||
if [ -z "$(grep spam $HOMEDIR/$user/conf/mail/$domain/protection)" ]; then
|
||||
echo 'antispam' >> $HOMEDIR/$user/conf/mail/$domain/protection
|
||||
fi
|
||||
# Adding antispam flag
|
||||
touch $HOMEDIR/$user/conf/mail/$domain/antispam
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Vesta #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue