> Ahh but you didn't run the command I asked you to run.  You are passing
> the user: [EMAIL PROTECTED] to SpamAssassin so it will use that as
> the key for the database, running the command from the command like that
> way is going to use your unix id as the key.  I'm guessing you changed
> something in your mail setup to start passing in @domain in addition to
> the regular unix username.

Actually, yes, I did, but I don't think it turned out like we
were expecting (hence I didn't include it, I'm sorry):


[EMAIL PROTECTED] ~]$ sa-learn -u [EMAIL PROTECTED]                       
     SpamAssassin version 3.1.7
Please select either --spam, --ham, --folders, --forget, --sync, --import,
--dump, --clear, --backup or --restore
Usage:
    sa-learn [options] [file]...

    sa-learn [options] --dump [ all | data | magic ]

    Options:

     --ham                             Learn messages as ham (non-spam)
     --spam                            Learn messages as spam
     --forget                          Forget a message
     --use-ignores                     Use bayes_ignore_from and
bayes_ignore_to
     --sync                            Syncronize the database and the
journal if needed
     --force-expire                    Force a database sync and expiry run
     --dbpath <path>                   Allows commandline override (in
bayes_path form)
                                       for where to read the Bayes DB from
     --dump [all|data|magic]           Display the contents of the Bayes
database
                                       Takes optional argument for what to
display
      --regexp <re>                    For dump only, specifies which
tokens to
                                       dump based on a regular expression.
     -f file, --folders=file           Read list of files/directories from
file
     --dir                             Ignored; historical compatability
     --file                            Ignored; historical compatability
     --mbox                            Input sources are in mbox format
     --mbx                             Input sources are in mbx format
     --showdots                        Show progress using dots
     --no-sync                         Skip syncronizing the database and
journal
                                       after learning
     -L, --local                       Operate locally, no network accesses
     --import                          Migrate data from older version/non
DB_File
                                       based databases
     --clear                           Wipe out existing database
     --backup                          Backup, to STDOUT, existing database
     --restore <filename>              Restore a database from filename

     -u username, --username=username  Override username taken from the
runtime environment
     -C path, --configpath=path, --config-file=path   Path to standard
configuration dir
     -p prefs, --prefspath=file, --prefs-file=file    Set user preferences
file
     --siteconfigpath=path             Path for site configs (def:
/etc/mail/spamassassin)
     -D, --debug-level                 Print debugging messages
     -V, --version                     Print version
     -h, --help                        Print usage message


But regardless - won't the user_scores_sql_custom_query I posted
handle that possibility?  I am _so_ not an SQL guru, but it looks
correct to me?  I'm never afraid to admit a mistake, so if I'm
smoking crack here, please step up and say so.  :)

Benny


-- 
"If stupidity were a handicap, you'd have the best parking spot."
                                                    --Bill Paul


Reply via email to