dovecot磁盘配额及自动回复测试
绝世美人儿
975次浏览
2020年07月29日 18:59
最佳经验
本文由作者推荐
干涸的拼音-销蚀
1、t安装managesieve
2、t注意10-auth配置使用:auth_mechanisms = plain login
3、t在中启用protocols = imap pop3 lmtp sieve
Dovecot 20-managesieve配置文件
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
# Number of connections to handle before starting a new process. Typically
# the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0
# is faster.
#service_count = 1
# Number of processes to always keep waiting for more connections.
#process_min_avail = 0
# If you set service_count=0, you probably need to grow this.
#vsz_limit = 64M
}
service managesieve {
# Max. number of ManageSieve processes (connections)
#process_count = 1024
}
# Service configuration
protocol sieve {
# Maximum ManageSieve command line length in bytes. ManageSieve usually does
# not involve overly long command lines, so this setting will not normally need
# adjustment
#managesieve_max_line_length = 65536
# Maximum number of ManageSieve connections allowed for a user from each IP address.
# NOTE: The username is compared case-sensitively.
#mail_max_userip_connections = 10
# Space separated list of plugins to load (none known to be useful so far). Do NOT
# try to load IMAP plugins here.
mail_plugins = "sieve"
# MANAGESIEVE logout format string:
# %i - total number of bytes read from client
# %o - total number of bytes sent to client
#managesieve_logout_format = bytes=%i/%o
# To fool ManageSieve clients that are focused on CMU's timesieved you can specify
# the IMPLEMENTATION capability that the dovecot reports to clients.
# For example: 'Cyrus timsieved v2.2.13'
#managesieve_implementation_string = Dovecot Pigeonhole
# Explicitly specify the SIEVE and NOTIFY capability reported by the server before
# login. If left unassigned these will be reported dynamically according to what
# the Sieve interpreter supports by default (after login this may differ depending
# on the user).
# managesieve_sieve_capability =
# managesieve_notify_capability =
# The maximum number of compile errors that are returned to the client upon script
# upload or script verification.
#managesieve_max_compile_errors = 5
# Refer to for script quota configuration and configuration of
# Sieve execution limits.
}
plugin {
# Used by both the Sieve plugin and the ManageSieve protocol
sieve = ~/.
sieve_dir = ~/sieve
}
[root@mail-bk conf.d]#
配置文件
[root@mail-bk conf.d]# less
##
## Plugin settings
##
# All wanted plugins must be listed in mail_plugins setting before any of the
# settings take effect. See
# their configuration. Note that %variabl
e expansion is done for all values.
plugin {
#setting_name = value
sieve = ~/.roundcube #注意名字一定要这样,不能变!
sieve_dir = ~/sieve
log_path =
info_log_path =
# sieve_max_script_size = 1M
}