gromox-compress(8)
π gromox-compress β the utility to recompress Gromox content files β¨
Okay bestie, so this is a page from the Gromox admin reference β it's gromox-compress(8) and it's literally the glow-up tool for your mailbox's content files. Let's get into it π«Ά
β¨ NAME β¨
gromox-compress β a utility to recompress Gromox content files. That's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
gromox-compress --cid {directory|file...}
π DESCRIPTION π
So here's the thing: gromox-compress compresses content files (attachments, bodytext) in an existing mailbox after the fact. Like, retroactively. It's giving "better late than never" energy β¨
And the reason you'd ever want this? Because the "exmdb_file_compression" config directive only controls compression in the groupware servers for newly created content files. So all your old files are just sitting there, uncompressed, living their truth. This utility is how you fix that. Iconic, honestly π
π₯ OPTIONS π₯
--cidβ treat all arguments given on the command-line as CID directories, and process them appropriately. Yes, that's the whole thing, no cap.-nβ dry run. In essence, this only builds the file lists and runs no compressors. Basically a vibe check for your file list β zero actual compression happens π-zlevel β compression level to use. It defaults to6. Pick your fighter β
π¦ EXAMPLES π¦
Compress some:
gromox-compress --cid /var/lib/gromox/user/0/1/cid
/var/lib/gromox/user/0/2/cid
Or string that further to compress cid directories of all mailboxes:
find /var/lib/gromox/{user,domain} -type d -name cid -exec gromox-compress
--cid {} +
Ngl, that second one is main character energy β it just goes and finds every single cid directory and hits them all in one swoop π
π FORMATS π
cid/[0-9]+: content file, with proptag-dependent header and trailercid/[0-9]+.v1z: content file, with proptag-dependent header and trailer, compressedcid/[0-9]+.zst: content file, headerless, compressed
Those three little suffixes are the whole personality test, iykyk π
π SEE ALSO π
gromox(7), exmdb_provider(4gx) β go read those too, bestie, they're worth it π
Alright, that's the page! This lil' slice of the Gromox admin reference β gromox-compress(8) β is a wrap. Stay compressed, stay iconic, mwah ππ
β¨
π¦ where this page comes from
- alpine 3.24: grommunio-gromox-doc 3.6-r0 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: gromox 2.45-bp160.1.5 Β· AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
- opensuse-leap 16.0: gromox 2.45-bp160.1.5 Β· AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
- opensuse-leap 16.0: gromox 2.45-bp160.1.5 Β· AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
- opensuse-leap 16.0: gromox 2.45-bp160.1.5 Β· AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
- π the page's license: CC-BY-SA-4.0 or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms