> > On Tue, 7 Jan 2003, Keith Powell wrote:
> > I once read that KMail could be filtered to send messages straight into
> > the "Black Hole" which is /dev/null. Ideal for spam!
> >
> > Has anyone tried it, and got it to work? If so, how do you do it, please?
> > I can't work out how to do it.
> >
> > This is only for experimenting with. I wouldn't dream of using it for any
> > of the OT threads - but on second thoughts....  ;-)
> >
> > Cheers
> >
> > Keith
>

> Les Henderson replied:

> Most people that I know who have done such things have used a procmail
> rule set to accomplish this and have not used the MTA for such things.  I
> personally would hesitate to do such things since I've never heard of a
> rule set for spam that was 100% effective at only filtering spam.  Most
> people that I know who do such things will filter spam to a spam folder
> and quickly look through the messages occaisionally before deleting
> them to make sure that they only delete garbage.  They will only filter
> specific addresses or domains to /dev/null, such as anything coming from
> the microsoft domains...


> And Stephen Kuhn replied:

> As far as using "the black hole" - I make use of it via /etc/procmailrc
> - this is a processor for mail which can be used for sendmail, postfix,
> qmail - it contains "rules" or rather "recipes" for diverting stuff
> hither thither and yon...here's a quick clip from mine showing that
> garbage is sent to "hell":

> ## procmailrc recipes

> PATH=/bin:/usr/bin

> :0
> * ^From.*[EMAIL PROTECTED]
> * ^Subject:.*
> {
>          :0
>          /dev/null
> }

> :0
> * ^From.*[EMAIL PROTECTED]
> * ^Subject:.*
> {
>          :0
>          /dev/null
> }
> :0
> * ^From.*@tyrell.net
> * ^Subject:.*
> {
>          :0
>          /dev/null
> }
> :0
> * ^From.*@*.co.kr
> * ^Subject:.*
> {
>          :0
>          /dev/null
> }
>
> :0
> * ^(X-Spanska|From.*hahaha)
> {
>         LOG="VIRUS "
>         :0
>         /dev/null
> }
>
> :0 B
> * > 100000
> * mDmcOaA5pDmoOaw5sDnAOeA56DnsOfA59Dn4Ofw5ADoEOgg6HDo8OkQ6SD
> {
>         LOG="SirCam "
>         :0
>         /dev/null
> }

> # Attachment with an unzipped Win32 executable - KLEZ
> :0
> * Content-Type:.*multipart/alternative
> * BD ??
> AAAMFAAA9AgAAPYlAAAKAgAATVpQAAIAAAAEAA8A//8AALgAAAAAAAAAQAAaAKgBAAC6EAAO
> {
>         LOG="KLEZ "
>         :0
>         /dev/null
> }
>
> :0 HB
> * > 54000
> * ^Content-Type: audio/x-(wav|midi);
> {
>         LOG="Klez "
>         :0
>         /dev/null
> }
> 
---------------------------------------------------------------------------------------------------
>
> Lots of things can be sent to /dev/null - it's just a matter of how you
> utilise this wonderful tool...


Thank you both for your replies and the information. I appreciate the trouble 
you went to to give the information.

I will experiment with procmail and see what a mess I get into! 

Cheers

Keith

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to