jfernandez
(Juan Carlos Fernandez)
April 2, 2019, 8:58pm
1
Is there a way to compress/compact stored mails on each IMAP account on a Nethserver 7 ?
I have installed the following mail modules:
nethserver-roundcubemail-1.3.0-1
nethserver-mail-common-2.4.5-1
nethserver-mail-filter-2.4.5-1
nethserver-mail-disclaimer-2.4.5-1
mrmarkuz
(Markus Neuberger)
April 2, 2019, 9:17pm
2
It’s possible to compact with Roundcube.
On the bottom left click the gear:
In the roundcube server settings you could setup “Compact Inbox on logout”.
jfernandez
(Juan Carlos Fernandez)
April 2, 2019, 9:26pm
3
I read that “Compact Inbox on logout” option does is:
“This will remove all messages flagged for deletion from the Inbox when you log out”
What I would like to do is reduce the size of the IMAP Account by compressing it.
Is this possible ?
davidep
(Davide Principi)
April 2, 2019, 9:26pm
4
According to their docs
Compact Inbox on logout
This will remove all messages flagged for deletion from the Inbox when you log-off.
(Sorry if it has been already posted)
1 Like
pike
(Michael Kicks)
April 2, 2019, 9:28pm
5
I don’t know if Linux support on the fly file compression (EXT4 shouldn’t) , but often… compression means lacks of performance.
@davidep is used maildir or mbox as default mail format?
davidep
(Davide Principi)
April 2, 2019, 9:28pm
6
I don’t know if it is possible, but I think it’s a task for dovecot…
Maildir…
1 Like
mrmarkuz
(Markus Neuberger)
April 2, 2019, 9:31pm
7
1 Like
davidep
(Davide Principi)
April 2, 2019, 9:32pm
8
Out of luck tonight MrMarkuz
It compresses on the wire data, not storage
Shoot!
davidep
(Davide Principi)
April 2, 2019, 9:37pm
10
Awesome! But not straightforward… However seems viable!
Did you check our current dovecot version compatibility?
Alternative solution to compression: buy another hard disk
Compression is CPU bounded: perhaps it requires less disk space but more CPU power.
pike
(Michael Kicks)
April 2, 2019, 9:42pm
11
Also, using a flash storage could lead to a bit more write overhead… On the other side, if disk space is an issue (virtual server) compression could lead to more problem than effective solutions, due to computational overhead.
2 Likes
mrmarkuz
(Markus Neuberger)
April 2, 2019, 9:58pm
12
We use dovecot 2.2.36 (oldstable) and zlib compression seems implemented .
2 Likes