procmail
[Top] [All Lists]

Re: (no subject)

2000-08-22 07:05:04
On Tue, Aug 22, 2000 at 09:27:53AM -0400, Colin J. Raven 
(cjraven(_at_)ddf-lab(_dot_)com) said:
Hi Gang!
I wonder if anyone can give me some regexp help on making sure this email
goes to /dev/null

From: Automatic digest processor 
<LISTSERV(_at_)LISTSERV(_dot_)CLASSROOM(_dot_)COM>
Reply-To: Net-Happenings 
<NET-HAPPENINGS(_at_)LISTSERV(_dot_)CLASSROOM(_dot_)COM>
To: Recipients of NET-HAPPENINGS digests
<NET-HAPPENINGS(_at_)LISTSERV(_dot_)CLASSROOM(_dot_)COM>
Subject: NET-HAPPENINGS Digest - 21 Aug 2000 (#2000-137)

The subject line changes daily/weekly, but whatever I do, it doesn't catch
this particular pesky daily email.
This is what I tried;

 :0
 * ^From_ *\<LISTSERV(_at_)LISTSERV(_dot_)CLASSROOM(_dot_)COM\>
 /dev/null

Unfortunately, it doesn't catch the above mail.

I don't think you understand what the "*" does; it matches 0 or more
of the previous character.  You specified a space, so it would match,
for example:

   From_               <LISTSERV(_at_)LISTSERV(_dot_)CLASSROOM(_dot_)COM>

but not 

   From  Some pesky text <LISTSERV(_at_)LISTSERV(_dot_)CLASSROOM(_dot_)COM>

or

   From:  Some pesky text <LISTSERV(_at_)LISTSERV(_dot_)CLASSROOM(_dot_)COM>


Listserv usually uses the Sender: field, so I think your best bet is:

:0
* ^Sender:(_dot_)*net-happenings(_at_)listserv(_dot_)classroom(_dot_)com
/dev/null

For that matter, have you tried unsubscribing?  Try sending

signoff net-happenings

in the body to listserv(_at_)listserv(_dot_)classroom(_dot_)com(_dot_)  That's 
probably your
best bet.

-- 
Jim Toth
jjtoth(_at_)vcu(_dot_)edu

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>