On Tue, Nov 05, 2002 at 08:52:38AM +0100, Bernhard Thoni wrote:
> debug: Failed to parse line in SpamAssassin configuration, skipping:
> user_score_dsn DBI:mysql:spamassassin:samplehost:3306
> debug: Failed to parse line in SpamAssassin configuration, skipping:
> user_score_sql_username test
> debug: Failed to parse line in SpamAssassin configuration, skipping:
> user_score_sql_password xxx
> debug: Failed to parse line in SpamAssassin configuration, skipping:
> user_score_sql_table userpref

Well, I don't personally use the SQL stuff (although I may start futzing
with it), but I believe your problem is that it should be "user_scores"
(note the plural).  It's even in the man page:

       user-scores-dsn DBI:databasetype:databasename:host-name:port
           If you load user scores from an SQL database, this
           will set the DSN used to connect.  Example:
           "DBI:mysql:spamassassin:localhost"

       user_scores_sql_username username
           The authorized username to connect to the above DSN.

       user_scores_sql_password password
           The password for the database username, for the above
           DSN.

       user_scores_sql_table tablename
           The table user preferences are stored in, for the
           above DSN.

and the docs at http://www.spamassassin.org/dist/sql/README

-- 
Randomly Generated Tagline:
Be consistent.
              -- Larry Wall in the perl man page

Attachment: msg09889/pgp00000.pgp
Description: PGP signature

Reply via email to