<span style="font-family:arial, helvetica, sans-serif; font-size:10pt;"> Hallo, ich habe wie im Dovecot Buch beschrieben das Plugin zlib aktiviert.<br />
Neue Emails werden nun wie in der Config eingestellt komprimiert.<br />
Nun möchte ich das vorhandene Emails auch packen. Das soll laut Buch mit dsync funktionieren.<br />
Leider kopiert dsync nur 1 zu 1.<br />
Fehlt mir noch etwas in der config oder benötigt dsync noch etwas damit die Emails auch gepackt werden?<br />
<br />
Kopiert habe ich das Konto Mailadmin. Nach dem Kopieren sind aber beide Ordner identisch.</span><br />
<br />
dsync backup -u mailadmin maildir:/srv/vmail/mailadmin2<br />
<br />
<span style="font-family:arial, helvetica, sans-serif; font-size:10pt;">Meine Config: </span><br />
# 2.2.21 (5345f22):/etc/dovecot/dovecot.conf<br />
# Pigeonhole version 0.4.11 (6ddf62b87f60+)<br />
# OS:Linux 3.0.101-68-default x86_64 SUSE Linux Enterprise Server 11 (x86_64) ext3<br />
auth_master_user_separator = *<br />
auth_verbose_passwords = yes<br />
dict {<br />
acl = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext<br />
}<br />
lmtp_save_to_detail_mailbox = yes<br />
mail_fsync = never<br />
mail_location = maildir:/srv/vmail/%n/Maildir<br />
mail_plugins = acl quota zlib<br />
managesieve_notify_capability = mailto<br />
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart<br />
namespace {<br />
location = maildir:%%h/Maildir:INDEX=%h/shared/%%n:CONTROL=%h/shared/%%n<br />
prefix = shared/%%n/<br />
separator = /<br />
subscriptions = yes<br />
type = shared<br />
}<br />
namespace inbox {<br />
inbox = yes<br />
location =<br />
mailbox Drafts {<br />
special_use = Drafts<br />
}<br />
mailbox Junk {<br />
special_use = Junk<br />
}<br />
mailbox Sent {<br />
special_use = Sent<br />
}<br />
mailbox "Sent Messages" {<br />
special_use = Sent<br />
}<br />
mailbox Trash {<br />
special_use = Trash<br />
}<br />
mailbox virtual/All {<br />
comment = All my messages<br />
special_use = All<br />
}<br />
mailbox virtual/Flagged {<br />
comment = All my flagged messages<br />
special_use = Flagged<br />
}<br />
prefix =<br />
separator = /<br />
}<br />
passdb {<br />
args = /etc/dovecot/dovecot-sql-master.conf.ext<br />
driver = sql<br />
master = yes<br />
}<br />
passdb {<br />
driver = pam<br />
}<br />
passdb {<br />
args = /etc/dovecot/dovecot-sql.conf.ext<br />
driver = sql<br />
}<br />
plugin {<br />
acl = vfile<br />
acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db<br />
quota = maildir:User quota<br />
quota_grace = 10%%<br />
quota_rule = *:storage=20G<br />
quota_rule2 = INBOX/Trash:ignore<br />
quota_rule3 = INBOX/Sent:ignore<br />
quota_warning = storage=95%% quota-warning 95 %u<br />
quota_warning2 = storage=80%% quota-warning 80 %u<br />
sieve = file:~/sieve;active=~/.dovecot.sieve<br />
zlib_save = gz<br />
zlib_save_level = 6<br />
}<br />
protocols = imap pop3 lmtp sieve<br />
service auth {<br />
unix_listener auth-userdb {<br />
group = vmail<br />
user = vmail<br />
}<br />
}<br />
service imap-login {<br />
process_min_avail = 8<br />
service_count = 0<br />
}<br />
service lmtp {<br />
inet_listener lmtp {<br />
address = 127.0.0.1<br />
port = 24<br />
}<br />
}<br />
service managesieve-login {<br />
inet_listener sieve {<br />
port = 4190<br />
}<br />
inet_listener sieve_deprecated {<br />
port = 2000<br />
}<br />
}<br />
service pop3-login {<br />
process_min_avail = 8<br />
service_count = 0<br />
}<br />
ssl_cert = </etc/openvpn/keys/gateway2.domain.de.crt<br />
ssl_client_ca_dir = /etc/openvpn/keys/<br />
ssl_client_ca_file = /etc/openvpn/keys/ca.crt<br />
ssl_dh_parameters_length = 2048<br />
ssl_key = </etc/openvpn/keys/gateway.doain.de.key<br />
ssl_options = no_compression<br />
ssl_prefer_server_ciphers = yes<br />
userdb {<br />
driver = passwd<br />
}<br />
userdb {<br />
driver = prefetch<br />
}<br />
userdb {<br />
args = /etc/dovecot/dovecot-sql.conf.ext<br />
driver = sql<br />
}<br />
protocol lmtp {<br />
mail_fsync = optimized<br />
mail_plugins = acl quota zlib sieve<br />
}<br />
protocol imap {<br />
mail_plugins = acl quota zlib imap_acl imap_quota virtual imap_zlib<br />
}<br />
<br />
<br />