8 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Maildrop and postgres
FromSent OnAttachments
Jonathan ChocronMar 15, 2006 10:19 am 
Ian MacDonaldMar 15, 2006 11:17 am 
Devin RubiaMar 15, 2006 11:22 am 
Devin RubiaMar 15, 2006 11:27 am 
Jonathan ChocronMar 16, 2006 4:58 am 
Devin RubiaMar 16, 2006 6:55 am 
Isaac ZinnerMar 21, 2006 9:04 am 
moussMar 21, 2006 2:16 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Maildrop and postgresActions...
From:mouss (mou@netoyen.net)
Date:Mar 21, 2006 2:16:40 pm
List:net.sourceforge.lists.courier-maildrop

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.