procmail
[Top] [All Lists]

Re: procmail mailing list filtering problems

2001-08-10 08:25:09
* Luka Kladaric <luka(_at_)kladaric(_dot_)net> [010810 10:46]:
Hello everybody... I have a problem with filtering mails from this mailing
list. Most mails end up in /dev/null which is exactly how I'd want it
(procmail filters only mail for delivery to cellphone), but one email
sneaked past the filters.

Log extract:
From procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE  Fri Aug 10 
16:18:32 2001
 Subject: RE: putting header fields into a set order (was a few other
things)
  Folder: /dev/null
From procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE  Fri Aug 10 
16:38:47 2001
 Subject: Re: putting header fields into a set order (was a few other
things)
  Folder: /home/lkladar/.Procmail/mail2sms.pl
6625
From procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE  Fri Aug 10 
16:39:34 2001
 Subject: Re: help!! .procmailrc can't handle long recipes!!
  Folder: /dev/null
6666

Filters in .procmailrc:
:0
* ^From:.*Lists.RWTH-Aachen.DE*
/dev/null

:0
* ^To:(_dot_)*procmail(_at_)Lists*
/dev/null

ALL FILTERS in my .procmailrc are /dev/null (kill-filters) except the last
one which is:

:0
|$PMDIR/mail2sms.pl

You get the drift...
Why??
 
I don't think your first recipe will ever match.  The From: header
usually contains the respondent's address.  Look at the From: header on
this message.  The second recipe lets messages to procmail-users
through.

This will work better:

:0
* ^TO_procmail
/dev/null

Why not just unsubscribe from the list??

-- 
- Matt Dunford <> zoot(_at_)zotikos(_dot_)com ..
-. www.zotikos.com -- o,;-
        
"There's nothing in the middle of the road but a yellow stripe and dead
armadillos."
   -- Jim Hightower, Texas Agricultural Commissioner
--
_______________________________________________
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>