enable zlib compression related options

This commit is contained in:
Matthew Saunders Brown 2024-06-03 11:49:20 -07:00
parent 3315b18ace
commit 66ffd65399
3 changed files with 7 additions and 3 deletions

View File

@ -90,7 +90,7 @@ function vmail::yesno() {
function vmail:getoptions () {
local OPTIND
while getopts "ha:b:d:e:f:gj:cp:q:r:s:tk:gl:m:o:u:vx" opt ; do
while getopts "ha:b:d:e:f:g:j:cp:q:r:s:tk:gl:m:o:u:vwxy:" opt ; do
case "${opt}" in
h ) # display help and exit
help
@ -162,7 +162,7 @@ function vmail:getoptions () {
fi
;;
g ) # glob (wildcard) search
glob=${OPTARG,,}
glob=${OPTARG}
;;
j ) # Filter Junk
filter=${OPTARG}
@ -222,6 +222,9 @@ function vmail:getoptions () {
x ) # eXecute - don't prompt for confirmation
execute=true
;;
y ) # DirectorY - Maildir directory/folder inside mailbox
directory="${OPTARG}"
;;
\? )
echo "Invalid option: $OPTARG"
exit 1

View File

@ -215,7 +215,7 @@ mail_privileged_group = mail
# Space separated list of plugins to load for all services. Plugins specific to
# IMAP, LDA, etc. are added to this list in their own .conf files.
mail_plugins = $mail_plugins quota
mail_plugins = $mail_plugins quota zlib
##
## Mailbox handling optimizations

View File

@ -68,6 +68,7 @@ service imap {
# Most of the memory goes to mmap()ing files. You may need to increase this
# limit if you have huge mailboxes.
#vsz_limit = $default_vsz_limit
vsz_limit = 1024M
# Max. number of IMAP processes (connections)
#process_limit = 1024