Thanks to everyone for their help. I reconfigured the authldaprc file to use the mailbox attribute as home directory instead of homeDirectory. Seems obvious now. Naturally, I had to wrap all the mailboxes in empty directories so /ticoon/mail/DavidA becomes /ticoon/mail/DavidA/./Maildir but thats not a big deal. And now .courier in the actual home will be ignored, but no one is using that right now anyway.

So some concessions, but spamassassin from maildroprc is now working! Next up is ClamAV, then why LDAP aliases are not resolving and I am gold.

Thanks again,
David

On 10-Jan-05, at 1:13 PM, David Aspinall wrote:

Ok, this makes a little more sense. I will try adjusting the LDAP configuration tonight. What surprises me is that I think a filter pass should be made before the pass off to the MDA. I think what I really wanted was a specific global place to plug in virus/spam scanners regardless of the final MDA.

Thanks for the tutorial.
David

On 10-Jan-05, at 12:53 PM, Gordon Messmer wrote:

Assuming that /ticoon/mail/DavidA/ is a maildir, another way that you could approach the problem would be to modify your mail fs setup such that /ticoon/mail/DavidA/ were a directory containing a maildir named Maildir. By doing so, you're setting /ticoon/mail/DavidA/ up as a sort of "home dir" for the context of email delivery. As such, it could contain .courier or .mailfilter files in addition to the Maildir directory. After making that change, you'd need to modify authldaprc such that LDAP_HOMEDIR uses the "mailbox" value, and LDAP_MAILDIR is commented out. Now, when Courier attempts delivery, it will get /ticoon/mail/DavidA/ as the home directory for davida, and will use DEFAULTDELIVERY to decide how to deliver the message to the user.



------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to