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
|
@ -48,7 +48,11 @@ fi
|
|||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
sed -i "/^$malias@$domain:$account/d" $HOMEDIR/$user/conf/mail/$domain/aliases
|
||||
if [[ "$MAIL_SYSTEM" =~ exim ]]; then
|
||||
sed -i "/^$malias@$domain:$account/d" \
|
||||
$HOMEDIR/$user/conf/mail/$domain/aliases
|
||||
fi
|
||||
|
||||
aliases=$(echo "$aliases" |\
|
||||
sed "s/,/\n/g"|\
|
||||
sed "s/^$malias$//g"|\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue