Dear developers,

I am using Mailscanner with Spamassassin and I want Spamassassin lookup LDAP for user preference. I have put user_scores_dsn, user_scores_ldap_username, and user_scores_ldap_password in local.cf. When I test running the command 'spamd -D --ldap-config -x', then cat /root/sample-spam.txt | spamc -u [EMAIL PROTECTED]', it works perfectly fine. But when Mailscanner accepts the email, Spamassassin doesn't lookup ldap for user preference (as observed from ldap.log file). I do not know where to specify --ldap-config -x command for Spamassassin because Mailscanner is not calling Spamassassin daemon, spamd.

Could you please let me know how to instruct Spamassassin to lookup LDAP for user preference when running with MailScanner ? Thanks in advance for your assistance.

Regards,
Anny

Reply via email to