Explorar o código

Update v-add-mail-domain (#4868)

In that way the file "limits" gets the right user and group, otherwise it's root:root and the user cannot send email
Alex Costantino hai 1 ano
pai
achega
eddaa972d6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      bin/v-add-mail-domain

+ 1 - 0
bin/v-add-mail-domain

@@ -130,6 +130,7 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
 	touch $HOMEDIR/$user/conf/mail/$domain/passwd
 	touch $HOMEDIR/$user/conf/mail/$domain/passwd
 	touch $HOMEDIR/$user/conf/mail/$domain/fwd_only
 	touch $HOMEDIR/$user/conf/mail/$domain/fwd_only
 	touch $HOMEDIR/$user/conf/mail/$domain/accounts
 	touch $HOMEDIR/$user/conf/mail/$domain/accounts
+	touch $HOMEDIR/$user/conf/mail/$domain/limits
 	ln -s $HOMEDIR/$user/conf/mail/$domain \
 	ln -s $HOMEDIR/$user/conf/mail/$domain \
 		/etc/$MAIL_SYSTEM/domains/$domain_idn
 		/etc/$MAIL_SYSTEM/domains/$domain_idn