On Wed, Sep 08, 2004 at 05:47:03PM -0500, Josh Trutwin wrote: > On Wed, 8 Sep 2004 16:04:00 -0500 > Michael Parker <[EMAIL PROTECTED]> wrote: > > > To migrate AWL data you can use the convert_awl_dbm_to_sql script in > > the tools directory. > > Looks like I have it working though I think I'm going to give up on > importing my bayes db into MySQL and re-train it because it imports > the entire database under one user - namely root. >
It imports as whatever user you run sa-learn as. > For sa-learn ham/spam there doesn't seem to be a way to actually set > the user so I can do something like this with vmailmgr virtualhosts: > > sa-learn --spam /home/josh/Maildir/Spam [EMAIL PROTECTED] > sa-learn --spam /home/anita/Maildir/Spam [EMAIL PROTECTED] > sa-learn doesn't have that functionality, yet. You can use bayes_sql_override_username to trick sa-learn into learning as whoever you want to learn as. > For AWL, is there a @GLOBAL username like with SQL userprefs where you > can say this whitelist entry is global? @GLOBAL doesn't really make sense for AWL, but an awl_sql_override_username (similar to the one for bayessql) might work. Feel free to open up a bug at http://bugzilla.spamassassin.org/ Michael