Compare commits
3 Commits
e50851b519
...
master
Author | SHA1 | Date | |
---|---|---|---|
cb9e958d39 | |||
761a3a3b34 | |||
ae06305069 |
@ -6695,14 +6695,11 @@ EOF
|
||||
passdb_default_password_scheme = ${default_pass_scheme}
|
||||
sql_driver = mysql
|
||||
|
||||
mysql localhost {
|
||||
|
||||
parameters {
|
||||
mysql /run/mysqld/mysqld.sock {
|
||||
user = ${dbuser}
|
||||
password = ${dbpassword}
|
||||
dbname = ${dbname}
|
||||
}
|
||||
}
|
||||
EOF
|
||||
if [ "$?" = 0 ]; then
|
||||
echo -e "$rc_done"
|
||||
@ -9211,7 +9208,7 @@ userdb sql {
|
||||
EOF
|
||||
if grep -qE "^\s*userdb sql\s+{" "${_conf_file}"; then
|
||||
|
||||
replace_code_block "userdb" "${NEW_BLOCK}" "${_conf_file}" || _failed=true
|
||||
replace_code_block "userdb sql" "${NEW_BLOCK}" "${_conf_file}" || _failed=true
|
||||
|
||||
else
|
||||
cat <<EOF >> "${_conf_file}" || _failed=true
|
||||
@ -9644,7 +9641,7 @@ quota "User quota" {
|
||||
# 'quota_storage_extra' to get the final value (in this mailbox or
|
||||
# namespace). This is reported as the STORAGE limit in IMAP GETQUOTA
|
||||
# commands. Using 0 as the value means the same as unlimited.
|
||||
quota_storage_size = 1G
|
||||
#quota_storage_size = 0
|
||||
}
|
||||
EOF
|
||||
if grep -qE "^\s*quota \"User quota\"\s+{" "${_conf_file}"; then
|
||||
|
Reference in New Issue
Block a user