mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
Define mail user in rebuild_mail_domain_conf()
This commit is contained in:
parent
fd8a44ae23
commit
9eb21cef4c
1 changed files with 6 additions and 0 deletions
|
@ -523,6 +523,12 @@ rebuild_mail_domain_conf() {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Define mail user
|
||||||
|
if [ "$MAIL_SYSTEM" = 'exim4' ]; then
|
||||||
|
MAIL_USER=Debian-exim
|
||||||
|
else
|
||||||
|
MAIL_USER=exim
|
||||||
|
fi
|
||||||
# Set permissions and ownership
|
# Set permissions and ownership
|
||||||
if [[ "$MAIL_SYSTEM" =~ exim ]]; then
|
if [[ "$MAIL_SYSTEM" =~ exim ]]; then
|
||||||
chmod 660 $USER_DATA/mail/$domain.*
|
chmod 660 $USER_DATA/mail/$domain.*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue