I figured it out.  The issue was that my procmail was using
/usr/bin/spamassassin which had the razor compile-time option turned
off.  I needed to be using ~/bin/spamassassin.  The different results
were due to different executables.

          - dan
--
Dan Kohn <mailto:[EMAIL PROTECTED]>
<http://www.dankohn.com/>  <tel:+1-650-327-2600>
-----Original Message-----
From: Dan Kohn 
Sent: Sunday, October 26, 2003 08:07
To: [EMAIL PROTECTED]
Subject: [SAtalk] Why does razor2 work with spamassassin -D but not
through procmail?

I'm running spamassassin in my home directory (~/bin) and have compiled
razor, dccproc, and pyzor, which all work fine when tested with
SpamAssassin -D.  However, while dccproc and pyzor are regularly
triggered on spam run through procmail, razor never is.  Specifically,
when I run 'spamassassin -D < sample-spam.txt', I get:

...
debug: Razor2 is available
debug: entering helper-app run mode
...

With RAZOR2_CF_RANGE_51_100 and RAZOR2_CHECK being triggered.

But 'cat sample-spam.txt | /usr/bin/procmail' produces:

debug: bayes: 23872 untie-ing db_seen
debug: Razor2 is not available
debug: running raw-body-text per-line regexp tests; score so far=0
debug: running uri tests; score so far=0
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=0
debug: Razor2 is not available
debug: DCCifd is not available: no r/w dccifd socket found.
debug: Current PATH is:
/home/dankohn/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/loc
al/bin:/usr/X11R6/bin
debug: executable for dccproc was found at /home/dankohn/bin/dccproc
debug: DCC is available: /home/dankohn/bin/dccproc
debug: entering helper-app run mode

Could someone please tell me why razor triggers in the former but not
the latter?

          - dan
--
Dan Kohn <mailto:[EMAIL PROTECTED]>
<http://www.dankohn.com/>  <tel:+1-650-327-2600>


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to