Mailing List Archive

can't direct SPAM to /dev/null
I am using SpamAssassin (SA) and the SquirrelMail (SM) plugin for SA.
Everything looks very good. SpamAssassin is marking much of the
spam appropriately, and the Web Interface the SM plugin offers is very
simple for our users to configure. However, I am having trouble getting
SA to delete messages when the users (via SM plugin) direct messages
marked as SPAM to be deleted. I am new to SA, SM and procmail,
so I am hoping this is an easy mistake, but in reviewing everything,
it looks like it should work.

## /home/joeuser/.procmailrc #########################
INCLUDERC=/var/lib/squirrelmail/prefs/joeuser-spamrc
######################################################

## /var/lib/squirrelmail/prefs/joeuser-spamrc ########
:0fw
* < 256000
|/usr/local/bin/spamassassin -P -p /var/lib/squirrelmail/prefs/joeuser.spam

:0 H
* ^X-Spam-Status: Yes
/dev/null
######################################################


## /var/lib/squirrelmail/prefs/joeuser.spam ##########
#General Options
required_hits 7.50
rewrite_subject 0
subject_tag [SPAM]
defang_mime 0
use_terse_report 0

#Blacklist/Whitelist Entries
#Configured Rules
######################################################

The rule in /var/lib/squirrelmail/prefs/joeuser-spamrc
(the middle file) says if you find "^X-Spam-Status: Yes"
then direct the mail (spam) to the /dev/null device, yet
the email still gets saved. Any ideas on where I went
wrong? I want messages marked as spam to be deleted.

Thank You,
Bob Byron