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

@ -42,7 +42,9 @@ is_object_unsuspended "mail/$domain" 'ACCOUNT' "$account"
#----------------------------------------------------------#
# Deleting account from fwd_only
sed -i "/^$account$/d" $HOMEDIR/$user/conf/mail/$domain/fwd_only
if [[ "$MAIL_SYSTEM" =~ exim ]]; then
sed -i "/^$account$/d" $HOMEDIR/$user/conf/mail/$domain/fwd_only
fi
#----------------------------------------------------------#