mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
+x permissions when rebuilding mail domain
This commit is contained in:
parent
01d32a43e1
commit
cd42dfc947
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ for domain in $(search_objects 'mail' 'SUSPENDED' "*" 'DOMAIN'); do
|
||||||
chown -R dovecot:mail $HOMEDIR/$user/conf/mail/$domain
|
chown -R dovecot:mail $HOMEDIR/$user/conf/mail/$domain
|
||||||
chown -R dovecot:mail /etc/exim/domains/$domain
|
chown -R dovecot:mail /etc/exim/domains/$domain
|
||||||
chmod 770 $HOMEDIR/$user/conf/mail/$domain
|
chmod 770 $HOMEDIR/$user/conf/mail/$domain
|
||||||
chmod 660 $HOMEDIR/$user/conf/mail/$domain*
|
chmod 660 $HOMEDIR/$user/conf/mail/$domain/*
|
||||||
chmod 660 /etc/exim/domains/$domain
|
chmod 770 /etc/exim/domains/$domain
|
||||||
|
|
||||||
# Adding antispam protection
|
# Adding antispam protection
|
||||||
if [ "$ANTISPAM" = 'yes' ]; then
|
if [ "$ANTISPAM" = 'yes' ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue