How to dsync mdbox compressed to maildir uncompressed
Thomas Leuxner
tlx at leuxner.net
Wed Feb 22 10:17:14 UTC 2017
* Daniel Betz <dbetz at df.eu> 2017.02.22 11:07:
Here you go:
# 2.2.devel (d89a40c): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.devel (0d78a30)
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.7
auth_cache_size = 16 k
auth_verbose = yes
deliver_log_format = msgid=%m, time=%{delivery_time}ms, status=%$
hostname = host.domain.tld
imap_hibernate_timeout = 1 mins
imap_id_log = *
imap_logout_format = in=%i out=%o hdr=%{fetch_hdr_count} body=%{fetch_body_count} del=%{deleted} exp=%{expunged} trash=%{trashed}
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %k session=<%{session}>
mail_location = mdbox:~/mdbox
mail_plugins = acl quota stats zlib virtual
mailbox_list_index = yes
mdbox_rotate_size = 10 M
namespace {
list = yes
location = mdbox:/var/vmail/public:INDEXPVT=~/mdbox/public
prefix = :public/
separator = /
subscriptions = no
type = public
}
namespace {
list = children
location = mdbox:/var/vmail/domains/%%d/%%n/mdbox:INDEXPVT=~/mdbox/shared/%%u
prefix = :shared/%%u/
separator = /
subscriptions = no
type = shared
}
namespace {
location = virtual:~/mdbox/virtual
prefix = :virtual/
separator = /
}
namespace inbox {
hidden = no
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
separator = /
type = private
}
passdb {
args = username_format=%u /var/vmail/auth.d/%d/passwd
driver = passwd-file
}
plugin {
acl = vfile:/var/vmail/conf.d/%d/global-acl:cache_secs=300
acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes
imapsieve_mailbox1_before = file:/var/vmail/conf.d/domain.tld/sieve/report-spam.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = Spam
imapsieve_mailbox2_before = file:/var/vmail/conf.d/domain.tld/sieve/report-ham.sieve
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_from = Spam
imapsieve_mailbox2_name = *
mail_log_events = expunge mailbox_delete
quota = count:User quota
quota_grace = 10%%
quota_rule = *:storage=1GB
quota_rule2 = Trash:storage=+10%%
quota_status_nouser = DUNNO
quota_status_success = DUNNO
quota_vsizes = yes
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_global_dir = /var/vmail/conf.d/%d/sieve
sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute
sieve_pipe_bin_dir = /var/vmail/conf.d/domain.tld/sieve
sieve_plugins = sieve_imapsieve sieve_extprograms
stats_refresh = 30s
stats_track_cmds = yes
zlib_save = gz
zlib_save_level = 6
}
protocols = " imap lmtp"
quota_full_tempfail = yes
service auth-worker {
unix_listener auth-worker {
user = doveauth
}
user = doveauth
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
user = doveauth
}
service imap-hibernate {
unix_listener imap-hibernate {
user = vmail
}
}
service imap-login {
inet_listener imap {
address = 188.138.4.217 [2001:470:1f0b:bd0::3]
port = 143
reuse_port = yes
}
inet_listener imaps {
port = 0
}
process_min_avail = 8
}
service imap-postlogin {
executable = script-login /var/vmail/conf.d/scripts/postlogin.sh
user = vmail
}
service imap {
executable = imap
unix_listener imap-master {
user = dovecot
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
}
}
service quota-status {
client_limit = 1
executable = quota-status -p postfix
unix_listener /var/spool/postfix/private/quota-status {
group = postfix
mode = 0660
user = postfix
}
}
service stats {
fifo_listener stats-mail {
mode = 0600
user = vmail
}
}
ssl_ca = </etc/ssl/certs/CA_Bundle.crt
ssl_cert = </etc/ssl/certs/host_domain_tld.crt
ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!kEECDH:!aNULL
ssl_dh_parameters_length = 2048
ssl_key = # hidden, use -P to show it
ssl_prefer_server_ciphers = yes
ssl_protocols = !SSLv2 !SSLv3
syslog_facility = local1
userdb {
args = username_format=%u /var/vmail/auth.d/%d/passwd
default_fields = plain_pass=%w
driver = passwd-file
}
verbose_proctitle = yes
protocol lmtp {
mail_plugins = acl quota stats zlib virtual sieve
}
protocol imap {
mail_max_userip_connections = 20
mail_plugins = acl quota stats zlib virtual mail_log notify imap_acl imap_quota imap_stats imap_sieve
namespace inbox {
location =
mailbox Trash {
autoexpunge = 5 days
}
prefix =
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20170222/3a9e0bc7/attachment.sig>
More information about the dovecot
mailing list