mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -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,8 @@ is_object_value_empty 'mail' 'DOMAIN' "$domain" '$ANTIVIRUS'
|
|||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Adding antivirus key to config
|
||||
if [ -z "$(grep 'virus' $HOMEDIR/$user/conf/mail/$domain/protection)" ]; then
|
||||
echo 'antivirus' >> $HOMEDIR/$user/conf/mail/$domain/protection
|
||||
fi
|
||||
# Adding antivirus flag
|
||||
touch $HOMEDIR/$user/conf/mail/$domain/antivirus
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue