Directory hashing
lists at mlserv.org
lists at mlserv.org
Mon May 11 11:00:38 EEST 2020
Hi,
I struggle with directory hashing. I want something like this:
/srv/mail/c/cf37a8dff5e360927ba10ab2
The final folder is simpel, as it is:
%{sha256;truncate=96:user}
But how do I get a first level from sha256? Unfortunately, the truncate option aligns only full 8bit and does not divide into low and high nibbles. How can I express this for sha256?
in MD5 this would be %1Mu
Many thanks in advance
Christian
--
Rößner-Network-Solutions
Karl-Bröger-Str. 10, 36304 Alsfeld
Fax: +49 6631 78823409, Mobil: +49 171 9905345
USt-IdNr.: DE225643613, https://roessner.website
PGP fingerprint: 658D 1342 B762 F484 2DDF 1E88 38A5 4346 D727 94E5
More information about the dovecot
mailing list