Fix for Debian/Ubuntu. MAIL_USER is now defined localy

This commit is contained in:
Serghey Rodin 2014-05-05 17:10:25 +03:00
commit f50c068ecf
5 changed files with 28 additions and 7 deletions

View file

@ -25,6 +25,13 @@ source $VESTA/func/main.sh
source $VESTA/func/domain.sh
source $VESTA/conf/vesta.conf
# Define mail user
if [ "$MAIL_SYSTEM" = 'exim4' ]; then
MAIL_USER=Debian-exim
else
MAIL_USER=exim
fi
#----------------------------------------------------------#
# Verifications #