enable zlib compression related options
This commit is contained in:
parent
3315b18ace
commit
66ffd65399
|
@ -90,7 +90,7 @@ function vmail::yesno() {
|
||||||
|
|
||||||
function vmail:getoptions () {
|
function vmail:getoptions () {
|
||||||
local OPTIND
|
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
|
case "${opt}" in
|
||||||
h ) # display help and exit
|
h ) # display help and exit
|
||||||
help
|
help
|
||||||
|
@ -162,7 +162,7 @@ function vmail:getoptions () {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
g ) # glob (wildcard) search
|
g ) # glob (wildcard) search
|
||||||
glob=${OPTARG,,}
|
glob=${OPTARG}
|
||||||
;;
|
;;
|
||||||
j ) # Filter Junk
|
j ) # Filter Junk
|
||||||
filter=${OPTARG}
|
filter=${OPTARG}
|
||||||
|
@ -222,6 +222,9 @@ function vmail:getoptions () {
|
||||||
x ) # eXecute - don't prompt for confirmation
|
x ) # eXecute - don't prompt for confirmation
|
||||||
execute=true
|
execute=true
|
||||||
;;
|
;;
|
||||||
|
y ) # DirectorY - Maildir directory/folder inside mailbox
|
||||||
|
directory="${OPTARG}"
|
||||||
|
;;
|
||||||
\? )
|
\? )
|
||||||
echo "Invalid option: $OPTARG"
|
echo "Invalid option: $OPTARG"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -215,7 +215,7 @@ mail_privileged_group = mail
|
||||||
|
|
||||||
# Space separated list of plugins to load for all services. Plugins specific to
|
# 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.
|
# 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
|
## Mailbox handling optimizations
|
||||||
|
|
|
@ -68,6 +68,7 @@ service imap {
|
||||||
# Most of the memory goes to mmap()ing files. You may need to increase this
|
# Most of the memory goes to mmap()ing files. You may need to increase this
|
||||||
# limit if you have huge mailboxes.
|
# limit if you have huge mailboxes.
|
||||||
#vsz_limit = $default_vsz_limit
|
#vsz_limit = $default_vsz_limit
|
||||||
|
vsz_limit = 1024M
|
||||||
|
|
||||||
# Max. number of IMAP processes (connections)
|
# Max. number of IMAP processes (connections)
|
||||||
#process_limit = 1024
|
#process_limit = 1024
|
||||||
|
|
Loading…
Reference in New Issue
Block a user