Displaying 20 results from an estimated 346 matches for "zlib_save".
2013 Sep 19
2
zlib_save per-user or per-mailbox?
We'd like to be able to activate zlib_save per-user or per-mailbox,
but it seems to be global, all or nothing. Search of this list
revealed a comment from Timo in 2012:
http://www.dovecot.org/list/dovecot/2012-March/064909.html
where he was thinking that compression per-namespace would be a
worthy feature. Was that done?
I'm in th...
2020 Aug 28
2
zlib errors after upgrading
ok, I did install zstd (zstd command line interface 64-bits v1.4.4, by
Yann Collet)
reconfigured & compiled dovecot 2.3.10.1 again with option : with-zstd
changed the configuration file to :
zlib_save = zstd
and restarted dovecot -
now I have following log file errors :
Aug 28 16:17:39 lxc-imap dovecot:
imap(rnowotny)<237930><H1kft/CtENRUclcc>: Error: zlib_save: Unknown
handler: zstd
Aug 28 16:17:44 lxc-imap dovecot:
imap(rprager)<237939><p5hst/Ct8evAqKhu>: Error:...
2011 Sep 22
1
zlib_save per namespace/mailbox?
Hi,
the zlib_save question reminds me of a wish:
I think it's not possible to set zlib_save parameter per namespace (or even
mailbox). Per namespace would be something for the wish list to get rid of
the cron job method to compress archival mailboxes.
And maybe an option to add a "Z" flag to compressed...
2014 Feb 27
1
Converting old emails to compressed format
...y like a
solution here as I tried all I could find on the wiki or mail archives
I am now running dovecot 2.2.12
Compression works fine for new mails, so zlib works
Mails are currently stored using dbox
So I tried for testing
dsync -D -v mirror -u user -m Archives dbox:~/temp
dsync -o "plugin/zlib_save=xz" -D -v mirror -u user -m Archives dbox:~/temp
dsync -o "plugin/zlib_save=" -D -v mirror -u user -m Archives dbox:~/temp
dsync -o "plugin/zlib_save=" -D -v mirror -u user -m Archives maildir:~/temp
dsync -o "plugin/zlib_save=xz" -D -v mirror -u user -m Archives...
2017 Dec 26
0
zlib plugin aborts without zlib_save
This is in follow-up to
https://dovecot.org/pipermail/dovecot/2017-December/110443.html
I had mail_plugins = "zlib", but zlib_save wasn't set (my mailboxes were
not compressed).
It seems that when the zlib plugin is enabled, but zlib_save isn't set, the
zlib plugin aborts on a regular basis---on a single-user system, I was
seeing it about 150 times a day.
Panic: file ostream-zlib.c: line 36 (o_stream_zlib_close...
2015 Nov 02
0
IMAP COPY creates invalid index data with zlib and mail_log plugins enabled but zlib_save off
On 10/30/15 3:06 PM, Robert L Mathews wrote:
> I've noticed that maildir IMAP COPY commands can generate invalid
> dovecot.index entries when all seven of the following are true:
As a followup to my own post, I believe I've tracked this problem down
to this code at lines 119-124 of /src/plugins/zlib/zlib-plugin.c:
/* don't uncompress input when we are reading a mail that
2020 Aug 28
0
zlib errors after upgrading
..., Robert Nowotny <rnowotny at rotek.at> wrote:
>
>
> ok, I did install zstd (zstd command line interface 64-bits v1.4.4, by Yann Collet)
>
> reconfigured & compiled dovecot 2.3.10.1 again with option : with-zstd
>
> changed the configuration file to :
>
> zlib_save = zstd
>
> and restarted dovecot -
>
> now I have following log file errors :
>
> Aug 28 16:17:39 lxc-imap dovecot: imap(rnowotny)<237930><H1kft/CtENRUclcc>: Error: zlib_save: Unknown handler: zstd
> Aug 28 16:17:44 lxc-imap dovecot: imap(rprager)<237939>...
2015 Oct 30
2
IMAP COPY creates invalid index data with zlib and mail_log plugins enabled but zlib_save off
I've noticed that maildir IMAP COPY commands can generate invalid
dovecot.index entries when all seven of the following are true:
- The zlib plugin is enabled;
- The zlib_save/zlib_save_level options are NOT enabled;
- The source message being copied is compressed;
- The mail_log plugin is logging "copy" events;
- The mail_log_fields setting includes at least one message header;
- The destination mailbox folder has an index file that is recording the
logged hea...
2019 Oct 10
3
Using attachment_dir with plugin zlib corrupt mails
..."interaction" of attachment_dir
option and zlib plugin. If you use both, you most likely are affected,
too, except you only use zlib plugin for reading previously compressed
stored mails. That's also the workaround we use now: zlib plugin only
enabled in mail_plugins but no plugin/zlib_save set.
The bug occurs on very specific mails. Due to privacy reasons I could
not provide sample mails here. Storing such mails seems to trigger the
bug reproducible.
I attached a very minimal doveconf -n config, that can be used to
trigger the bug. If one of the developers is interested, I...
2017 Jun 10
3
Changing the name of a compressed file
...On June 10, 2017 at 11:01 AM Peter West <lists at pbw.id.au> wrote:
>>
>>
>> Thanks for that Aki.
>>
>> Follow-up question. I tried to initiate compression by adding
>>
>> mail_plugins = $mail_plugins zlib
>>
>> plugin {
>> zlib_save_level = 6
>> zlib_save = xz
>> }
>>
>>
>> to dovecot.conf. I restarted dovecot and sent one message to the server, and one message from the server. Neither was compressed. I changed the save type to
>>
>> zlib_save = bz2
>>
>> and r...
2017 Jun 10
2
Changing the name of a compressed file
Thanks for that Aki.
Follow-up question. I tried to initiate compression by adding
mail_plugins = $mail_plugins zlib
plugin {
zlib_save_level = 6
zlib_save = xz
}
to dovecot.conf. I restarted dovecot and sent one message to the server, and one message from the server. Neither was compressed. I changed the save type to
zlib_save = bz2
and repeated. This time the message received (in /var/vmail/<host>/<usernam...
2019 Jul 19
3
WARNING: using attachment_dir with plugin zlib can corrupt mails
..."interaction" of attachment_dir
option and zlib plugin. If you use both, you most likely are affected,
too, except you only use zlib plugin for reading previously compressed
stored mails. That's also the workaround we use now: zlib plugin only
enabled in mail_plugins but no plugin/zlib_save set.
The bug occurs on very specific mails. Due to privacy reasons I could
not provide sample mails here. Storing such mails seems to trigger the
bug reproducible.
I attached a very minimal doveconf -n config, that can be used to
trigger the bug. If one of the developers is interested, I can...
2019 Oct 10
0
Using attachment_dir with plugin zlib corrupt mails
...ot; of attachment_dir
> option and zlib plugin. If you use both, you most likely are affected,
> too, except you only use zlib plugin for reading previously compressed
> stored mails. That's also the workaround we use now: zlib plugin only
> enabled in mail_plugins but no plugin/zlib_save set.
>
> The bug occurs on very specific mails. Due to privacy reasons I could
> not provide sample mails here. Storing such mails seems to trigger the
> bug reproducible.
>
>
> I attached a very minimal doveconf -n config, that can be used to
> trigger the bug. If...
2017 Jun 10
2
Changing the name of a compressed file
...>>>
>>>>
>>>> Thanks for that Aki.
>>>>
>>>> Follow-up question. I tried to initiate compression by adding
>>>>
>>>> mail_plugins = $mail_plugins zlib
>>>>
>>>> plugin {
>>>> zlib_save_level = 6
>>>> zlib_save = xz
>>>> }
>>>>
>>>>
>>>> to dovecot.conf. I restarted dovecot and sent one message to the server, and one message from the server. Neither was compressed. I changed the save type to
>>>>
>&...
2016 Mar 10
2
zlib plugin doesn't add "Z" flag to Maildir filename
I enabled zlib compression, so new mails are saved compressed.
Now I want to convert the old mails to gzip with the find and gzip
command, but now I don't know which files are already gzip compressed by
dovecot.
Shouldn't zlib_save itself add Z to the Maildir flags? As suggested in
the compress guide on http://wiki2.dovecot.org/Plugins/Zlib ?
--
Tom
2014 Feb 01
1
Debian Wheezy-Backports - Dovecot (1:2.2.9-1~bpo70+1) missing xz compression support?
...nf.d/10-mail.conf:
# 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 = zlib acl fts fts_solr
/etc/dovecot/conf.d/90-plugin.conf:
# Enable these only if you want compression while saving:
zlib_save_level = 9 # 1..9
zlib_save = xz # gz or bz2 or xy
Now I tried to convert my mailboxes - but somehow, something goes wrong:
root at SERVER:/# dovecot --version
2.2.9
root at SERVER:/# dsync mirror mdbox:/srv/converted_vmail/
doveadm(root): Error: zlib_save: Support not compiled in for handler:...
2020 Aug 31
2
how fetch zlibed mails with doveadm
Hey there,
i need some help with an administrativ dovecot question.
I run a dovecot 2.2.33 ubuntu server with mdbox and "zlib_save = gz
zlib_save_level = 6". Now i want to fetch the mailheader from some mails via
doveadm fetch -u <user> hdr uid <uid>. The only thing what i receive is some
binary stuff. Is there a way, i can tell the dovemadm fetch command, that he
should deflate the output for me?
Yours si...
2011 Sep 20
2
Trouble getting lda to gzip incomming mails (zlib plugin)
...mail_plugins = zlib
}
protocol lda {
postmaster_address = postmaster at monsternett.no
mail_plugins = sieve zlib
mail_plugin_dir = /usr/lib/dovecot/modules/lda
sieve_global_dir = /etc/dovecot/sieve/
sieve_global_path = /etc/dovecot/sieve/default.sieve
}
plugin {
zlib_save_level = 6
zlib_save = gz
fts = squat
sieve = ~/dovecot.sieve
sieve_dir = ~/
}
--
Helge Milde, 69701808
www.monsternett.no
2020 Aug 31
2
AW: how fetch zlibed mails with doveadm
...ader -reject
sieve_filter_bin_dir = /usr/local/bin/
sieve_filter_input_eol = lf
sieve_global_dir = /etc/dovecot/sieve/
sieve_max_redirects = 25
sieve_pipe_bin_dir = /usr/local/bin/
sieve_pipe_input_eol = lf
sieve_plugins = sieve_extprograms
sieve_redirect_envelope_from = recipient
zlib_save = gz
zlib_save_level = 6
}
protocols = imap pop3 sieve
service auth-worker {
idle_kill = 1 mins
}
service auth {
idle_kill = 1 mins
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
user = root
}
service imap-login {
executable =...
2012 Feb 27
2
Dovecot altmove questions
Hello
We are using Dovecot 2.0.17 with mdbox+zlib and we are evaluating alternative storage. These are the relevant settings
mdbox_rotate_interval = 1d
mdbox_rotate_size=60m
[...]
zlib_save_level = 9 # 1..9
zlib_save = gz # or bz2
[...] zlib plugin enabled in dovecot-lda
These are my questions:
1? General mdbox question. We are happy usings zlib_save, but we would like to try bzip2 compression. Can we change zlib to bzlib without problems? In other words, can we mix & match...