Tonight's meeting
William Park
opengeometry-FFYn/CNdgSA at public.gmane.org
Thu Apr 15 03:58:24 UTC 2004
On Wed, Apr 14, 2004 at 02:36:54PM -0400, Chris F.A. Johnson wrote:
> On Wed, 14 Apr 2004, William Park wrote:
> > But, how do you determine which email to delete? That is, what
> > criteria do you try to match?
>
>
> deny() {
> printf "%s\n" "${header[@]}" "${body[@]}" |
> egrep -if $deny >/dev/null 2>&1 && return 5 || return 0
> }
> ^FROM:.*\<MS\> [a-z][a-z]
> ^From:.*Microsoft.*
> ^From:.*Inet
> ^From:.*Internet
> ^From:.*Security Division
> ^Subject:.*New Internet Critical Pack
> (Cumulative|Network|Critical).*Patch
> ^To:.*client\@
> ^Virus detected
> ^(To|Cc):.*Network Client
> ^(To|Cc):.*receiver
> ^(To|Cc):.*recipient
> ^(To|Cc):.*\<user\>
> ^(To|Cc):.*Client
> ^(To|Cc):.*Customer
> ^(To|Cc):.*Inet Receiver.*
> ^(TO|Cc):.*Internet
In the talk, you said multiple 'To:' addresses with same domain, ie.
To: ...-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org, ... at rogers.com, ... at rogers.com,
...-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org, ... at rogers.com, ... at rogers.com
would be a spam and is deleted.
But, how do you do that with
egrep -f deny
mechanism?
--
William Park, Open Geometry Consulting, <opengeometry-FFYn/CNdgSA at public.gmane.org>
Linux solution/training/migration, Thin-client
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list