Giulio Fidente wrote:
Christian Affolter wrote:
Uhm I'm sorry, I forgot to mention that I'm using courier-authlib with
a LDAP backend. The clue is that I've specified an absolute path for
the maildir attribute:
homeDirectory: /var/mail
maildir: /var/mail/example.org/user/Maildir/
thank you Christian...
...after your interesting post, I've leaved a relative path into the
maildir attribute (because it's appended to the homedirectory parameter,
so dynamically constructed by maildrop) and then placed the maildrop
filter rules in the $HOME/.mailfilter file (home of the vmail user)...
so we can have specific virtual rules for virtual users (such as the
maildir creation)
about user's specific .mailfilter file, we can put the real $HOME
directory into the LDAP homeDirectory attribute so the user's
.mailfilter file is executed instead of the generic virtual users
.mailfilter file and only in this case we have to create manually the
$HOME directory
seems this way we have preserved all the functionality offered by
maildrop and create can automatically the maildir (plus the maildir path)