Dr. Aharon Friedman wrote:
Command: spamd –c –d –r /var/run/spamd/spamd.pid

Version: 3.0.4

Platform: FreeBSD 5.4

When I run the command:

Cat spam.msg | spamassassin | grep –I spam

I get:

        with SpamAssassin (version 3.0.4);

Subject: *****SPAM***** =?utf-8?B?T2ZmaWNlIFhQIC0gJDYwICBjaGVja3N1bXMgd29vZHk=?=

X-Spam-Flag: YES

X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail2.friedman.net

X-Spam-Level: *****

X-Spam-Status: Yes, score=5.3 required=5.0 tests=HTML_40_50,

Spam detection software, running on the system "mail2.friedman.net", has

identified this incoming email as possible spam.  The original message

has been attached to this so you can view it (if it isn't spam) or label

or confirm that your address can receive spam.  If you wish to view

Content-Type: message/rfc822; x-spam-type=original

Content-Description: original message before SpamAssassin

However, when I run:

cat spam.msg | spamc | grep -i spam

I get nothing.

Ps –ax | grep spamd   - shows

49791 ?? IsJ 0:01.38 /usr/local/bin/spamd -c -d -r /var/run/spamd/spamd.pi

49792  ??  IJ     0:00.20 spamd child (perl5.8.6)

49793  ??  IJ     0:00.19 spamd child (perl5.8.6)

49794  ??  IJ     0:00.12 spamd child (perl5.8.6)

49795  ??  IJ     0:00.12 spamd child (perl5.8.6)

49796  ??  IJ     0:00.12 spamd child (perl5.8.6)

50374  p1  S+J    0:00.01 grep spamd

I went over the archive and did not find anything relevant. Obviously, whenever I change any parameter, I restart the daemon.

Any ideas?

Aharon Friedman


Try with out grep, and see if there is any output, it looks, to me, like you are missing some cl options to spamc.
take a look at(watch for wrap):
http://spamassassin.apache.org/full/3.0.x/dist/doc/spamc.html

HTH

--
Thanks,
JamesDR

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to