compressing existing emails with ZSTD

sahostking

Verified User
Joined
Jan 29, 2021
Messages
113
Location
South Africa
Not sure whats wrong but zstd is installed it seems

# /usr/local/directadmin/directadmin config| grep zstd
zstd=1
zstd_bin=/usr/bin/zstdmt

# /usr/bin/zstdmt --help
*** zstd command line interface 64-bits v1.4.4, by Yann Collet ***
Usage :
zstdmt [args] [FILE(s)] [-o file]


When I run compression line: /usr/local/directadmin/scripts/dovecot_compress.sh all

as per : https://docs.directadmin.com/other-...#dovecot-full-text-search-fts-with-fts-xapian

I get below:

find: '/usr/bin/zstdmt': No such file or directory
x: /usr/bin/zstdmt: No such file or directory
find: '/usr/bin/zstdmt': No such file or directory
x: /usr/bin/zstdmt: No such file or directory
find: '/usr/bin/zstdmt': No such file or directory
x: /usr/bin/zstdmt: No such file or directory
find: '/usr/bin/zstdmt': No such file or directory
 
Hello,

That is because some user related things are done in behalf of an user. And you probably use jail on the server. That's a possible culprit.

Check output of

da c | grep jail

What will you see?

If this is the case, then you will need to allow users in jail to use /usr/bin/zstdmt

I don't have a guide by my hands on how to complete this. You will need to search docs and DirectAdmin forums.
 
Back
Top