procmail
[Top] [All Lists]

Re: Catching this list's mail

2002-02-06 02:56:01
On Tue, Feb 05, 2002 at 05:18:18PM -0500, Charlie Summers wrote:
At 5:01 PM -0500 2/5/02, Lars Kellogg-Stedman is rumored to have typed:

avoid false positives (specifically targeted at Mr. Dunford's
"^TO_procmail"
recipe).

I think that's entirely a matter of personal opinion.

   I don't; if Mr. Dunford joined the procmail-dev list, his filter _would_
immediately generate false positives because his filter condition isn't
unique enough, and he'd have to go back to figure out why. That isn't
opinion; but it IS specifically the recipe I was commenting on.

Mr. Dunford _is_ on the procmail-dev list. ;-)

But you're right: the recipe isn't very accurate, but I wrote it as a
compromise.  It accomplishes what I intend - which is to allow me to
quickly add and remove mailing lists and sort them into folders.

I sort of lied.  I don't use the recipe I posted anymore.  Here's the
current recipe, but it uses the same ^TO_procmail style.  Someday I'll
look out for those false positives.  When I have the time.

# mailing lists I want to sort
LISTS=(\
procmail|\
vim-(dev|multibyte)|\
php-cvs|\
gnu-screen|\
moop|\
mutt|\
bahai|\
classics|\
python|\
ex_in_italy|\
gnut|\
mobile-mail-devel|\
dcnyc|\
xmms|\
galeon|\
squid)

# save mailing list message to appropriate mailbox
:0
* -1^0
*  2^0 $  ^TO_\/$LISTS
*  2^0 $  ^Delivered-To:.*\/$LISTS
{
        ADDR=`echo $MATCH | tr 'A-Z' 'a-z'`
        :0:
        $ADDR
}

-- 
- Matt Dunford <> zoot(_at_)zotikos(_dot_)com ..
-. www.zotikos.com -- o,;-
        
I hate and I love.  And if you ask me how,
I do not know:  I only feel it, and I'm torn in two.
  -- Catullus, poem 85
--
_______________________________________________
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>