procmail
[Top] [All Lists]

Re: help!! .procmailrc can't handle long recipes!!

2001-08-10 13:16:31


i would suggest sending ONLY the LAST recipe that DOES work AND 
the FIRST recipe that DOESN'T

because otherwise no one will have the patience to respond.

:0                                                                 
* ^From(_dot_)*example(_at_)kym(_dot_)edu(_dot_)my 
majordomo

for each of the addresses?? This makes my .procmailrc too long.Can
somebody gimme a hint? THANKS!!

The length of your .procmailrc file isn't causing procmail to fail.
More likely one of your recipes isn't working as you intended.  Perhaps
post your entire .procmailrc file.  Perhaps turn on verbose logging to
get an insight into what is happening.

This is what I use to filter many mailing lists:

# mailing lists I want to sort
LISTS=\
(procmail|\
php-cvs|\
gnu-screen|\
moop|\
mutt|\
bahai|\
classics|\
python|\
squid|\
paml)

# save mailing list message to appropriate mailbox
:0
* $ ^TO_\/$LISTS
{
    # make matched string lowercase
    ADDR=`echo $MATCH | tr 'A-Z' 'a-z'`
    :0:
    $ADDR
}

-- 
- Matt Dunford <> zoot(_at_)zotikos(_dot_)com ..
-. www.zotikos.com -- o,;-
      
"We don't want to go back to tomorrow, we want to go forward."
    -- Vice President Dan Quayle
--
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


_______________________________________________
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>