You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Milos Prudek <pr...@bvx.cz> on 2005/02/23 15:31:51 UTC

reporting to razor

I set up a fake email address that I will send all my spam to. This 
address should report spam via "spamassassin -r" which calls razor-report.

I use qmail, so here is the content of my .qmail-spamtrap:

|spamassassin -x -C /etc/mail/spamassassin -r

Of course, to prevent spamassassin from stopping the spam before it 
reaches the spamtrap mailbox, I whitelisted the spamtrap address with 
all_spam_to directive. This should bypass SA and let qmail call the 
reporting function and pipe the email to it.

But any mail I send to this spamtrap address produces the following in 
the system mail log:

Feb 23 15:18:51 mail qmail-send: 1109168331.218517 delivery 250: 
success: 
razor2_report_failed:_No_such_file_or_directory_Razor2_report_requires_authenticatio
n_at_/usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/Reporter.pm_line_148./SpamAssassin:_no_Internet_hashing_methods_available,_so_couldn't_report./Warning,_
unable_to_report_message/For_more_information,_re-run_with_-D_option_to_see_debug_output./1_message(s)_examined./did_0+0+1/


When I run the pipe manually it works. Example:

cat spamsample |spamassassin -x -C /etc/mail/spamassassin -r

-- 
Milos Prudek
_________________
Most websites are
confused chintzy gaudy conflicting tacky unpleasant... unusable.
Learn how usable YOUR website is! http://www.spoxdesign.com