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