Re: [LIH]auto delete spam
On Sunday 11 July 2004 12:45, Ritesh Raj Sarraf wrote:
> Hello all,
> I know it might be a minor question. But please bear with me.
> I've configured a Debian Sarge with Qmail(From Debian),
> Spamassassin, Clamav, Razor. Everything is functioning well and
> spam messages are being detected. All I want is to auto-delete
> spam msgs or deliver all spam messages to a specific folder. I'm
> talking all this system wide.
> Thinking procmail as an option I did the following:
> Added the following line to .qmail
>
> |preline procmail
>
> And made a procmail recipe as:
> :0
>
> * ^X-Spam-Status: Yes
> /dev/null
>
> But this doesn't seem to work. My /etc/init.d/qmail is set to
> Maildir delivery.
>
> Besides procmail is there something else (somesaid maildrop,
> tried that but failed) through which I could accomplish my
> requirement.
Hi Ritesh,
I have setup spamassassin working with sendmail, I am using
###
:0
* ^X-Spam-Level: \*\*\*\*\*
/dev/null
###
in /etc/procmailrc
If any message is given 5.0 points from spamassassin, it gets automatically
deleted.
HTH
Regard,
Yash
>
> Ritesh
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> linux-india-help mailing list
> linux-india-help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
Reply to: