Hi, and thanks again for helping! I was hoping I could get some more ideas on what to look for.
Here's what I have in my dspam.conf file:

Client / Server part:
ServerQueueSize 32
ServerPID              "/var/run/dspam.pid"
ServerMode standard
ServerDomainSocketPath  "/tmp/dspam.sock"
ClientHost      /tmp/dspam.sock
ClientIdent     "[EMAIL PROTECTED]"
ProcessorURLContext on

Everything else is commented out. The daemon is also running on this server, so I think that this configuration I have there is correct. Did I miss something? I don't suppose it's the lack of quotes around the ClientHost value...

Thanks,

-Chris

Chris Baldwin wrote:
I'll take a look at the client part in a bit, in the meantime:

- running it w/o --client exits cleanly (as in, no errors on exit).
- piping a single email form the command line & specifying --client will exit with that error. If I don't specify --client, it will exit cleanly.
- globaluser is the user I trained.

Something I forgot to mention is that I'm using dspam just to filter mail, I don't want it to deliver anything. I have the first setup in the readme in mind.

-Chris

Kyle Johnson wrote:
Try running without --client, and also try just running it on the command line (piping a mail into dspam, for example). Is "globaluser" the user that you trained the 60,000 mails for?

My bet is that you do not have the client part of dspam.conf configured correctly.

-Kyle

On Thu, Nov 20, 2008 at 4:42 PM, Chris Baldwin <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi again,

    Having trained dspam 3.8.0 with about 60,000 emails, I figured I'd
    press it into service on my account and see what happened. (my
    question is at the bottom)

    I ran the daemon with this:
    dspam --debug --daemon &

    I have this set up in my .procmailrc:

    #
    # Procmail configuration
    #

    PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
    LOGFILE=$HOME/.procmail.log
    #VERBOSE=${VERBOSE:-yeah}
    LOCKFILE=$HOME/.lockmail

    # Begin spam treatment.
    :0fw
    | /usr/local/bin/dspam --client --user globaluser --stdout
    --deliver=innocent,spam


    :0:
    * ^X-DSPAM-Result: spam
    mail/Spam
    # End spam treatment.

    However, every time it processes an email, it get a nice error
    code in /var/log/mail.err:
    15053: [11/20/2008 16:12:08] Client exited with error -5

    The log files dspam.debug and dspam.messages didn't have anything
    terribly helpful in them. From what I can tell, the mail is not
    being flagged in any form and is being let right through. I'm not
    sure what I should do at this point - most of my google-based
    research points in seemingly random directions. So, my question to
    you: where should I look/what should I do to solve this problem?

    Thanks,
    -Chris








--
Thank you,
Kyle Johnson
(410) 370-3252
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>





!DSPAM:1011,492af16c150924891620670!


Reply via email to