Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spam is not dropping using Maildrop 1.8.1 and Spamassassin 3.1

Status
Not open for further replies.

Trekkie

Technical User
Apr 29, 2000
150
CA
Hi,

I'm using RH3 with qmail 1.05, vpopmail 5.4, courier-imap 4.0.4, spamassassin 3.1, with maildrop 1.8.1. I like to allow automatic delete for all email tagged with SPAM.

The script in /etc/maildroprc

Code:
if (/^X-Spam-Status:.*YES/)
{
echo "Your email was REJECTED by our SPAM filter."
DELTAG=1
}

I have also tried using procmail
Code:
DROPPRIVS=yes
:0fw
| /usr/bin/spamassassin
:0
* ^X-Spam-Status: Yes.*
/dev/null

With no luck...so what am I doing wrong?

Thank you in advance

T.k.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top