Re: mysql userpref

Damian <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
> I added such an entry in the amavis configuration, maybe you know why 
> it doesn't work?
> $sql_clause{'sel_wblist'} = 'SELECT "W" as wb';

Apparently the wblist code expects a user id. Try this sel_policy:

> SELECT username AS id, value AS spam_kill_level FROM userpref WHERE 
> preference = "required_score" AND username = %a
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.