http://bugzilla.spamassassin.org/show_bug.cgi?id=4102





------- Additional Comments From [EMAIL PROTECTED]  2005-01-25 07:08 -------
Created an attachment (id=2623)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=2623&action=view)
Proposed patch for bug 4102

This patch is one way to solve bug 4102.

Usage: 

1) Ensure spamd is being invoked with the --ldap-config and -x options
2) Define user_scores_dsn in your SpamAssassin configuration file.  This must
start 'ldap:' (without the quote marks).  I reccomend something obvious to
indicate this will be overidden, for example 'ldap:dynamic' or
'ldap:__USERNAME__'.  A better version of this patch would restrict this to a
given string.
3) Define user_scores_ldap_username and user_scores_ldap_password as normal.

When these changes are loaded this functionality can be made use of by using a
relevant LDAP URL (including host name), for example:

spamc -u
'ldap://ldap.example.org/dc=user1,dc=example,dc=org,o=myOrg?spamAssassinPrefs?base?(objectclass=top)'
< message




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to