On 31-08-2014 16:12, Sven Hartge wrote:
Ralf Hildebrandt <r...@sys4.de> wrote:
* Sven Hartge <s...@svenhartge.de>:
I have home=/srv/mail/%2NLn/%2.16NLn/%Ln/ in my auth-ldap.conf.ext
and
this gives me a path like this: /srv/mail/0/08/myusername
I use version 2.2.13 of dovecot.
I'm on 2.1.17 :(
%N could be a 2.2 feature. Someone with besser memory of version
changes
will have to clarify this.
S°
%N requires a 2.2.3+ Dovecot.
But %H will do the trick for previous versions.
BUT %H will give a bad distribution if your %n ends in the same
characters
ex. username@your.domain. This can be rectified by reversing the string
using %R.
Have not tried this but could %2.256HRLu do the trick?
Have fun
Andreas