Guy wrote:
Hi,
I've taken over administration of a mail server that uses postfix,
dovecot and maildrop at the moment. There has been a lot of
customising done to the system so I'd rather not have to change it too
much.
At the moment we have a single mail store directory and a maildroprc
that includes the mail store hardcoded into it. I'm changing the
system so that there are two mail store directories, the only way I
can see to do it would be to have a call to the mysql client from the
maildroprc file to determine which store should be used for each
delivery. Is there a more elegant way to get maildrop to use the
database for the location of the users maildir?
you can run authdaemon (if not already) and let maildrop use it. this
assumes that maildrop is built with authlib support. authdaemon can get
the maildir from mysql.
I'm running:
Gentoo 2.6.18-hardened x86_64
Postfix 2.2.10
Dovecot 1.0.9
maildrop 2.0.2-r1
(Not sure if that would make any difference to maildrops fuctionality.)
I'm also setting up a new server which I'll probably use a similar
setup on, but that will be running Ubuntu 7.10 so I'm not sure exactly
what versions would come packaged with that.