Jonathan Chocron a écrit :
Hi all !
First post here, so thanks for welcoming me !!
I have two questions :
I wish to use maildrop with postgresql. I found two howtos that dealt with
mysql and none with postgres.
Mysql howtos state that the config file is /etc/maildrop/maildropmysql.cf,
these howtos are too old. now, maildrop uses authdaemon. so you need to
configure authdaemon.
however I could not find any trace of that in the documentation.
see above.
Taking this for true, I suppose that the config file for postgres should be :
"maildroppgsql.cf".
But is that correct ?
Second question : how can I check whether maildrop is indeed using the DB to
authenticate ?
first configuer authdaemon. test it with authtest. if you're using
courier-imap and it works, then authdaemon is ok.
then test maildrop with something like:
# maildrop -V 4 -d $mail_login < message.eml
maildrop should then get the maildir and other stuff from authdaemon. if
it does not, report it here.
one issue that is found in some packages is that they patch the
configure script, but that results in maildrop being built with
HAVE_COURIER defined. this is meant for use with courier-mta only. as a
result, maildrop will try to inherit variables, but won't get them. if
so, rebuild...
another issue is when permissions of the authdaemon socket have been
"tuned"... make sure maildrop can access this.