how to SET required score in spam_assassin_check();

2010-02-03 Thread ml ml
Hello List, i would like to set my required score dynamically. Right now, my /etc/mimedefang-filter calls: my($hits, $req, $names, $report) = spam_assassin_check(); sub spam_assassin_check (;$) { my($status) = spam_assassin_status(@_); return undef if (!defined($status)); my

LDAP error: Argument scope isn't numeric in addition (+) at /usr/share/perl5/Net/LDAP.pm line 468

2010-01-31 Thread ml ml
Hello List, i am using Debian Lenny with spamassassin (3.2.5-2+lenny2), perl (5.10.0-19lenny2) and slapd (2.4.11-1+lenny1). In /etc/spamassassin/local.cf i have: user_scores_dsn ldap://localhost:389/ou=customer,dc=hq,dc=example,dc=net?attr?scope?uid=__USERNAME__ In my log i get this error:

Re: LDAP error: Argument scope isn't numeric in addition (+) at /usr/share/perl5/Net/LDAP.pm line 468

2010-01-31 Thread ml ml
ok, this was a stupid Copy+paste mistake. the correct line should be: ldap://localhost:389/ou=customer,dc=hq,dc=example,dc=net?spamassassin?sub?uid=__USERNAME__ :) On Sun, Jan 31, 2010 at 6:43 PM, ml ml mliebher...@googlemail.com wrote: Hello List, i am using Debian Lenny with spamassassin

LDAP Filter: __USERNAME__

2010-01-31 Thread ml ml
Hello List, i currently have this dsn: user_scores_dsn ldap://localhost:389/ou=customer,dc=hq,dc=imos,dc=net?spamassassin?sub?uid=__USERNAME__ However, i do not want user based configs, but a Domain based config. Somthing like: user_scores_dsn