mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
remote mail support
This commit is contained in:
parent
d08ee4b8c6
commit
972ecfaa74
33 changed files with 288 additions and 271 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue