File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
6565 if [ " $quota " = ' unlimited' ]; then
6666 quota=' 0'
6767 fi
68- str=" $account :$md5 :$user :mail::$HOMEDIR /$user ::userdb_quota_rule=*:storage=${quota} M"
68+ str=" $account :$md5 :$user :mail::$HOMEDIR /$user :${quota} :userdb_quota_rule=*:storage=${quota} M"
6969 echo $str >> $HOMEDIR /$user /conf/mail/$domain /passwd
7070fi
7171
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
6363 quota=0
6464 fi
6565 sed -i " /^$account :/d" $HOMEDIR /$user /conf/mail/$domain /passwd
66- str=" $account :$md5 :$user :mail::$HOMEDIR /$user ::userdb_quota_rule=*:storage=${quota} M"
66+ str=" $account :$md5 :$user :mail::$HOMEDIR /$user :${quota} :userdb_quota_rule=*:storage=${quota} M"
6767 echo $str >> $HOMEDIR /$user /conf/mail/$domain /passwd
6868fi
6969
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
6161 quota=0
6262 fi
6363 sed -i " /^$account :/d" $HOMEDIR /$user /conf/mail/$domain /passwd
64- str=" $account :$md5 :$user :mail::$HOMEDIR /$user ::userdb_quota_rule=*:storage=${quota} M"
64+ str=" $account :$md5 :$user :mail::$HOMEDIR /$user :${quota} :userdb_quota_rule=*:storage=${quota} M"
6565 echo $str >> $HOMEDIR /$user /conf/mail/$domain /passwd
6666fi
6767
Original file line number Diff line number Diff line change @@ -596,7 +596,7 @@ rebuild_mail_domain_conf() {
596596 if [ " $QUOTA " = ' unlimited' ]; then
597597 QUOTA=0
598598 fi
599- str=" $account :$MD5 :$user :mail::$HOMEDIR /$user ::userdb_quota_rule=*:storage=${QUOTA} M"
599+ str=" $account :$MD5 :$user :mail::$HOMEDIR /$user :${QUOTA} :userdb_quota_rule=*:storage=${QUOTA} M"
600600 echo $str >> $HOMEDIR /$user /conf/mail/$domain /passwd
601601 for malias in ${ALIAS// ,/ } ; do
602602 echo " $malias @$domain_idn :$account @$domain_idn " >> $dom_aliases
You can’t perform that action at this time.
0 commit comments