On Thu, Apr 11, 2002 at 01:16:13PM -0700, Chuck Wolber wrote:
 
| > You can also verify that spamc works from the command line.
| 
| I also tried that too. I was able to connect, which seemed to be ok. I 
| also replaced spamc with a cheesy shell script that would output a line 
| into a file everytime it was called. It dutifully added a line to that 
| file everytime an e-mail came in. By that, I am sure procmail is doing 
| it's job and passing control to spamc.

Pipe a message to spamc.  Eg :

    cat message.rfc822 | spamc

Verify that you get the message back.  The easiest way to see if the
message was tagged as spam or not is

    cat message.rfc822 | spamc | grep -i spam

-D

-- 

Even youths grow tired and weary,
    and young men stumble and fall;
but those who hope in the Lord 
    will renew their strength.
They will soar on wings like eagles;
    they will run and not grow weary,
    they will walk and not be faint.

        Isaiah 40:31


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to