Tony Earnshaw wrote:
Alex Chekholko skrev, on 06-08-2007 06:34:
Don't! Don't configure virtual maidirs in Postfix. Have Postfix hand off
to maildrop in master.cf:
maildrop unix - n n - - pipe
flags=DRhu user=vmail
argv=/usr/bin/maildrop -w 80 -d ${user} ${sender} ${recipient}
${extension} ${user}
Keep
maildrop_destination_recipient_limit = 1
maildrop_destination_concurrency_limit = 1
in main.cf
Instead of vmail use your own global, virtual user.
...
Alright, how about another approach that was suggested to me elsewhere
(but sadly, without details). There is a userdb in /etc/dovecot/userdb.
Is there a way to make maildrop understand that file somehow?
After all, that configuration even seems to be referred to in the
Postfix+maildrop howto: http://www.postfix.org/MAILDROP_README.html
I just don't understand what "match key for maildrop userdb lookup" means.
Would that involve setting up courier-auth-userdb? Then configuring
that to parse the /etc/dovecot/userdb file? Then configuring maildrop
to use courier-authlib-userdb? I can't find any useful tutorial through
the mighty Google. Anyone have a pointer? Or is this also not a good
way to accomplish this?
Thanks in advance,
Alex