From: "Professional Software Engineering"
<PSE-L(_at_)mail(_dot_)professional(_dot_)org>
To: <procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Friday, April 18, 2003 12:59 PM
Subject: Re: how to run procmail on a file
Please note that HTML email, esp in colour, isn't appropriate for email
discussion groups. Please reserve that for mailing friends and family or
coworkers locked into a dorky corporate mail system such as Notes or
Exchange.
Oops. Sorry. My dorky mail system is set up to use plain ASCII for
newsgroups,
but it is too dorky to realize that the same rule ought to apply to mailing
lists,
and I didn't catch it before I hit <RETURN>.
You should use INCLUDERC, and break the recipes out to a handful of
separate rc files
Of course.
instead of (as I suspect is the case here) one monolithic .procmailrc.
Nope.
I won't lay out my complete config, but it runs basically like so:
~/.procmailrc
Contains all initializations used globally throughout my procmail
config, including several variable extractions, such as SUBJECT,
etc,
then INCLUDERC's boxes.rc, and lastly, includes a default delivery
rule.
~/.procmail/boxes.rc
The rcfile which organizes the other rcfiles. From here, I include
rcfiles for backups (usually commented out), administrative
messages,
twit filtering, greenlisted "clean" discussion lists or one-way
only
lists, where I can trust spam won't appear, then spam filtering,
regular lists, and other sorting. In all, I probably have about 40
rcfiles, comprising about 140KB of rules (and that DOES NOT include
greenlist/redlist content, which weights in at another 3.2MB).
Son of a gun! That's just the way mine is laid out!
To be effective, you need to keep things organized and
compartmentalized. It's a common approach for programming, and although
procmail isn't procedural in nature (it is linear), it is still a form of
programming, and benefits from an organized approach.
Yah. Having been been a programmer / SWE / buzzword-of-the-era since 1972,
I tend to do things that way.
Manual invocation of your procmail rcfile. (. . .)
Great! That seems to confirm what David Tamkin said in the message just
prior to yours.
Thanks!
-- Kenn Goutal
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail