[Mimedefang] Re: spamassassin whitelist in mysql problems [SOLVED]

Danny Kjærgaard danny at resennet.dk
Thu May 31 06:11:18 EDT 2007


Sorry for noice.!

I just tried to move the sql.cf to local.cf, and i turns out that the sql 
settings have to be in the local.cf.

Once agin sorry.

-Danny


"Danny Kjærgaard" <danny at resennet.dk> skrev i en meddelelse 
news:f3m5lc$b8j$1 at sea.gmane.org...
> Hi
>
> I use mysql to store the userpref in mysql, and it work with 
> required_hits, but when i use thw whitelist_from on domain1 it applies to 
> domain2 also. I have this in my filter:
>
>    if ($Features{"SpamAssassin"}) {
>        spam_assassin_init()->compile_now(1) if 
> defined(spam_assassin_init());
>    }
>    .......
>    $SASpamTester->load_scoreonly_sql(&grep_domain(@Recipients[0]));
>    my($hits, $req, $names, $report) = spam_assassin_check();
>    ......
>
> I dont use the custom query, i only have the 3 dsn lines in my sql.cf for 
> spamassassin.
>
> Can anyone tell me what might be wrong here, or what might be missing.
>
> Thanks.
>
> -Danny
>
> 






More information about the MIMEDefang mailing list