<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <blockquote type="cite"
      cite="mid:074c20be-2d31-ce80-83b2-c2cc6b05f659@marmedia.net.pl">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <font size="2">I added such an entry in the amavis configuration,
        maybe you know why it doesn't work?<br>
        <font face="Calibri">$sql_clause{'sel_wblist'} = 'SELECT "W" as
          wb';</font></font><br>
    </blockquote>
    <p><font size="2"><font face="Calibri">Apparently the wblist code
          expects a user id. Try this sel_policy:</font></font></p>
    <p><font size="2"><font face="Calibri">
          <blockquote type="cite">SELECT username AS id, value AS
            spam_kill_level FROM userpref WHERE preference =
            "required_score" AND username = %a</blockquote>
        </font></font></p>
  </body>
</html>