Matt wrote:
This isn't exactly a qmail-ldap question... but I'm sure it's comeI use simscan to filter virus with freshclam and spam with spamassassin.
up..... how do you handle user accounts settings in spamassassin
(like if you want to let them have individual settings) when you have
virtual users as in qmail-ldap? Does it even work?
All you have to do is define "spamassassin" attribute in ldap and you can store there spamassassin user preferences.
In local.cf you put something like this:
user_scores_dsn ldap://192.168.X.Y:389/ou=users,dc=example,dc=org?spamassassin?sub?uid=__USERNAME__
user_scores_ldap_username cn=Manager,dc=example,dc=org
user_scores_ldap_password secret
And thats all.
Omar
