2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Maildropldap.config p...
FromSent OnAttachments
AnthonySep 9, 2003 11:45 pm 
Andreas StollarSep 10, 2003 11:23 am 
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] Maildropldap.config problemActions...
From:Andreas Stollar (andr@speakeasy.net)
Date:Sep 10, 2003 11:23:03 am
List:net.sourceforge.lists.courier-maildrop

You have to build maildrop with "--enable-maildropldap". Then set up an /etc/maildropldap.config with information about your LDAP server. (hint, make sure the perms on this file are the same as the virtual user that owns all of your mail accounts set in /var/qmail/control/ldapuid) This file should have perms 600 since it usually must contain the manager password for the LDAP db.

Then you can setup you /etc/maildroprc with some global rules if you like, when using maildropldap, it knows where all the virtualusers Maildirs are specified by $HOME! Also, $LOGNAME will give you the virtuser name. Here is what I use:

DEFAULT="$HOME/Maildir/" xfilter "/usr/bin/spamc -u $LOGNAME" `until test -d $HOME/Maildir; do /usr/local/bin/maildirmake $HOME/Maildir; done` `until test -d $HOME/Maildir/.spam ; do /usr/local/bin/maildirmake $HOME/Maildir/.spam ; done` if (/^X-Spam-Status: Yes/) to $HOME/Maildir/.spam/

Andreas

On Wed, 10 Sep 2003, Anthony wrote:

Date: Wed, 10 Sep 2003 13:46:49 +0800 From: Anthony <wa@tech-trans.com> To: MailDROP-Mailing-List <cour@lists.sourceforge.net> Subject: [maildropl] Maildropldap.config problem

Dear All,

I installed a qmail+ldap server and planned to use maildrop to do mailfiltering.

I compiled the maildrop with ldap support and the ldap file is located /etc/maildropldap.config.

However I found the maildrop will not lookup the LDAP Server. (from the LDAP Server log)

Anything I missed during the complie and installation of maildrop.

Thanks a lot!!