Bryan Irvine writes:
I'm a newb so please, be gentle. :-)
I've just installed and compiled courier-maildrop for use with postfix
and ldap. I'm testing maildrop to make sure it can deliver to virtual
users (stored in ldap) but can't seem to figure out how to get
maildrop to query ldap.
in postfix I use postmap to query and verify that postfix is finding
the right username.
postmap -q ba...@mailtest.horvitznewspapers.net
ldap:/etc/postfix/ldap/local_recipients.cf
bammbamm
but maildrop fails.
# maildrop -d ba...@mailtest.horvitznewspapers.net
Invalid user specified.
What am I missing here?
1. Install courier-authlib first.
2. Configure and set up courier-authlib to read your LDAP records. Using
the authtest tool in the courier-authlib package you should be able to
verify that the library can see your accounts, and validate the account
passwords.
3. Recompile maildrop against courier-authlib. Provided that you have
courier-authlib installed properly, and you have verified that
courier-authlib is properly reading your LDAP records in step 2, everything
in step 3 will happen automatically.