I've reached the point where my email client isn't able to handle all of
the rule matching analysis I'm asking of it.  So I'm trying to get
mass-check to work so I can analyze individual rules.

Minor handicap: I'm a domain user on a shared virtual domain server. I don't
have admin access to most of SA. Just about everything I do is centered
on user_prefs.

I've built a script I call masscheck.sh, which has the commands:
> cd ~/.spamassassin/masscheck
> perl ./mass-check -c ./testrule.txt -j 1 --mbox ../massham/* >ham.log
> perl ./mass-check -c ./testrule.txt -j 1 --mbox ../massspam/* >spam.log
> perl ./hit-frequencies -x spam.log ham.log >freq.log

The two mass-check steps seem to run OK.  I have ham.log and spam.log,
and they look pretty much as I expect.

The hit-frequencies step fails, with
> sh: /home/menschel/.spamassassin/masscheck/parse-rules-for-masses:
>         /usr/bin/perl: bad interpreter: Permission denied
> Died at ./hit-frequencies line 267.

Perl doesn't seem to be the problem, since:
> type perl
>     perl is /usr/bin/perl
> ls -lF /usr/bin/perl
>     -rwxr-xr-x  2 root  root  781816 Apr 11 21:41 /usr/bin/perl*

> perl --version
>     This is perl, v5.6.1 built for i686-linux

The line in hit-frequencies which seems to be failing appears to be
>  system ("$FindBin::Bin/parse-rules-for-masses -d \"$cffile\" -s $opt_s") and die;

Can anyone suggest a quick work-around? (With 25+ years programming
experience, I'm still a novice in perl, so please take that into
account.)

Many thanks for any/all assistance.

Bob Menschel




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to