maildrop missing maildir path in authldaprc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
courier (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: courier-maildrop
If you use the combination if courier-authdaemon, courier-maildrop, postfix, ldap, using schema from phamm, and you set postfix to use maildrop as MDA in ldap, when you configure authldaprc in courier, you set the parameter MAILDIR to be read from ldap, the parameter is read, but maildrop looses the env var $DEFAULT, and fails the final delivery, if you call maildrop by command line, works ok and delivers the email and gets the maildir path correctly, but when running in postfix fails.
The final path to mailbox, is the concat of the user home set in authldaprc plus maildir path, this should build the complete path example.
if home is
/srv/vmail/domains
and maildir is:
domain.
when postfix calls maildrop sould do the delivery to
/srv/vmail/
but is doing the delivery to
/srv/vmail/domains
running from postfix call. if you run by hand the command runs ok.
Any ideas??
Changed in courier: | |
status: | Invalid → Incomplete |
Changed in courier: | |
status: | Fix Committed → Fix Released |
The first thing I would do is increase the verbosity of the Postfix logs and find the exact command that Postfix is using. Make sure it's the same as the one you are using when do this by hand. Please post a log snipped (not entire verbose logs) showing what Postfix is doing.