First of all thank you very much Mr. Michelle
i think your file shows either you are including your file called
FLT_spam_sub in your procmail file or u are calling your script .
and all the subject to be block is described in file called LIST_spam_sub
so will u please tell me in detail
Rakesh
----- Original Message -----
From: "Michelle Konzack" <linux4michelle(_at_)freenet(_dot_)de>
To: <procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Sunday, April 24, 2005 2:10 PM
Subject: Re: block mail by compairing word in subject
Am 2005-04-24 10:36:34, schrieb Rakesh:
Hi all
i want to block mails which contains some nonsence words
i can do it if i chech individually like
:0:
* ^Subject:.*\<foo
/dev/null
now its blocks all the mail which contains the word "foo" in subject
but i want to keep all the word in a text fie so it 'll compare with
that.
Thanks in advance
Rakesh Man Karmacharya
I use
__( '/home/michelle.konzack/.procmail/FLT_spam_sub' )_________________
/
| ####################################################################
| #
| # FLT_spam_sub
| #
| ####################################################################
|
| LOG="($TDPID) FLT_spam_sub : pass
| "
|
| :0 fw
| | $HOME/bin/tdmail-sub spam_sub "***SPAM_sub***"
|
| :0
| * ^Subject:.*(***SPAM_sub***)
| .ATTENTION.FLT_subject/
\______________________________________________________________________
with a file like
__( '/home/michelle.konzack/.procmail/LIST_spam_sub' )________________
/
| about Money
| Abwesenheitsnachricht
| Abwesenheitsnotiz
| academic qualification
| aiuto mai ricevuto
| ALERTE DE VIRUS
| alert from aSafe
| ALERT - Virus
| All my apologise
<snip>
| Microsoft Corporation
| Microsoft disc
| More Energy
| Moschee-Bau in Deutschland
| Ms Office
| MULTI-KULTI-BANDE
| muscle boosting
| name brands
| Nautilus - Email com virus foi detectado
| NAV ha rilevato un virus
| Need me
| need your help
| Nein zum Zuwanderungsgesetz
| Neue Voelkerwanderung droht
| New Microsoft Upgrade
| New pharma
| New profession
| new soft
| NEXT OF KIN
| nicht im Haus
| night of love
| No Advertising
| No Marketing
| Nominate yourself for a Certificate
| No more money worries
| Non-Delivery Notification
| No Promoting
| Norton AntiVirus detected
<snip>
| Valium
| vìagra
| Vicodin
| VIRUS ALERT
| Vírus Detectado
| Virus detecté
| Virus détecté
| Virus detected
| Virus in einer E-Mail
| Virus in Ihrer Email entdeckt
| Virus intercepted
| Virüs Tespit Edildi
| virus was found
| vital organs
| wants to see you
<snip>
| Your Registration
| your sex life
| Your Site Has
| Your software
| Your text
\______________________________________________________________________
If you are interested in my BASH script, let me know.
Greetings
Michelle
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
----- Original Message -----
From: Rakesh
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Sent: Sunday, April 24, 2005 10:36 AM
Subject: block mail by compairing word in subject
Hi all
i want to block mails which contains some nonsence words
i can do it if i chech individually like
:0:
* ^Subject:.*\<foo
/dev/null
now its blocks all the mail which contains the word "foo" in subject
but i want to keep all the word in a text fie so it 'll compare with that.
Thanks in advance
Rakesh Man Karmacharya
------------------------------------------------------------------------------
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail