Mike,

I tried your command but got an ambiguous output redirect.  I am not 
running bash as you suggested.  So I tried the command like this and got:

*-*-*-*-*-*-*-*-*-*-*-*
prompt% spamassassin -D < mailfilename > logfile
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/spamassassin" for site rules dir
debug: using "/usr/home/username/.spamassassin" for user state dir
debug: using "/usr/home/username/.spamassassin/user_prefs" for user 
prefs file
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=0
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: running meta tests; score so far=0
debug: is spam? score=0 required=5 tests=
Couldn't open /var/mail/username: Permission denied 
at /usr/home/username/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssass
in/NoMailAudit.pm line 334.
prompt%
*-*-*-*-*-*-*-*-*-*-*-*

The logfile was created but was empty.  The file that it couldn't open 
has permissions that look like this:

-rw-------  1 username  vuser     0 Jan  8 17:05 username

I am not sure what is going wrong.  Spamassassin works fine when 
launched from procmail like this:

:0fw
* < 256000
|/usr/local/bin/spamassassin

Any ideas on why it is complaining about permissions and NoMailAudit?

Thanks,
Jonathan Duncan


Mike Saunders <[EMAIL PROTECTED]> said:

> 
> On Wed, 8 Jan 2003, Jonathan Duncan wrote:
> 
> > 1) How can I check to see if RBL checks are actually being made on my
> > system?  I have the following in my local.cf
> >
> > skip_rbl_checks 0
> > num_check_received 2
> > rbl_timeout 30
> >
> 
> 
> spamassassin -D < test.msg > logfile 2>&1
> 
> That syntax probably only works in bash sh shells.  The test.msg is a 
test
> spam that you've captured.  This will put spamassassin in debug mode 
and
> there will be a lot of output.  I believe you'll see RBL results in 
there.
> 
> 
> -Mike Saunders
> method at method dot cx
> 
> 
> 



-- 
Jonathan Duncan
nacnud.com administrator
Nacnud, Inc.



________________________________________________________________

Brought to you by nacnudMail using TWIG.  http://www.nacnud.com



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to