remote mail support

This commit is contained in:
Serghey Rodin 2014-04-01 23:51:10 +03:00
commit 972ecfaa74
33 changed files with 288 additions and 271 deletions

View file

@ -43,14 +43,19 @@ is_object_value_exist "mail/$domain" 'ACCOUNT' "$account" '$AUTOREPLY'
# Action #
#----------------------------------------------------------#
rm -f $HOMEDIR/$user/conf/mail/$domain/autoreply.$account.msg
rm -f $USER_DATA/mail/$domain/$account@$domain.msg
# Deleting exim autoreply message
if [[ "$MAIL_SYSTEM" =~ exim ]]; then
rm -f $HOMEDIR/$user/conf/mail/$domain/autoreply.$account.msg
fi
#----------------------------------------------------------#
# Vesta #
#----------------------------------------------------------#
# Deleting autoreply message
rm -f $USER_DATA/mail/$domain/$account@$domain.msg
# Update config
update_object_value "mail/$domain" 'ACCOUNT' "$account" '$AUTOREPLY' 'no'