fixes for exim antispam/antivirus protection

This commit is contained in:
Serghey Rodin 2013-09-25 13:26:05 +03:00
commit 3f5f796637
7 changed files with 16 additions and 19 deletions

View file

@ -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 #