On Thu, Jun 17, 2004 at 12:01:06PM -0700, Shane Wegner wrote: > One thing I noticed was spamd got an error parsing > #user_scores_sql_table userprefs > in local.cf. Renaming userprefs to userpref (the default > table name) and removing the line fixed this.
You could have also done a custom query. > When training the bayes filters using sa-learn, is there > any way to tell sa-learn to use a different username for > the bayes data. Since I am handling multiple domains, the > usernames passed to spamd from the mta are [EMAIL PROTECTED] and > sa-learn is just using the username part so [EMAIL PROTECTED] > gets learned as shane when training bayes. No, you can't supply a different username with sa-learn. You can cheat a little by using bayes_sql_override_username. See http://bugzilla.spamassassin.org/show_bug.cgi?id=1201 for one solution to this. > Is there a way when a user is deleted to delete all > associated bayes data. The awl and prefs look simple > enough > delete from awl where username='<username>'; > but how could the various linked tables in bayes be > handled. Have you tried sa-learn --clear ? Michael
