Hi
I have maildrop 2.0.2 installed as standalone with authlib and ldap enabled
(on Gentoo Linux). I want to integrate maildrop with postfix 2.2.10 and I
have read README.postfix but I don't understand where can I customize what
maildrop is looking for in the LDAP tree.
You'll have to configure your courier-authlib, so that it uses the LDAP
authentication module. Have a look at
http://www.courier-mta.org/authlib/README_authlib.html (authldap
authentication module).
I'm using as LDAP backend
ActiveDirectory on Windows2003R2, and I've added to every user a few
attributes to integrate well with my existing postfix+ldap configuration. But
why is this readme talking about specific LDAP schemas?
with virtual(8) MDA everything works smoothly: first it looks for the desired
address in the "mail" attribute, if it doesn't exists, looks for it in
the "mailAddressAlias" field, and delivers to $mailMessagestore/Maildir.
I use this technique to, well you may know, have an user receiving mails to
another mail address (not his/her main address).
Changing MDA to maildrop, with this in master.cf
maildrop unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/bin/maildrop -d ${user}@${nexthop}
${recipient} ${user} ${nexthop} ${sender}
I'm simply using:
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
delivery if the destination address is present in account part (so it's in the
LDAP "mail" field) works perfectly with maildrop as well, but trying to use
the "alternate" part, it throws me the typical "Command output: Invalid user"
error.
Again, how does the LDAP configuration for courier-authlib (authldaprc)
looks like?
regards
Chris