Просмотр исходного кода

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 1 год назад
Родитель
Сommit
eddaa972d6
1 измененных файлов с 1 добавлено и 0 удалено
  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/fwd_only
 	touch $HOMEDIR/$user/conf/mail/$domain/accounts
+	touch $HOMEDIR/$user/conf/mail/$domain/limits
 	ln -s $HOMEDIR/$user/conf/mail/$domain \
 		/etc/$MAIL_SYSTEM/domains/$domain_idn