[PLUG] procmail recipe

Paul Heinlein heinlein at madboa.com
Wed Aug 27 21:24:02 UTC 2003


On Wed, 27 Aug 2003, Rich Shepard wrote:

> On Wed, 27 Aug 2003, AthlonRob wrote:
>
> > Or another note... what do y'all use for procmail rules to filter
> > the PLUG lists into a seperate folder?  There are so many choices,
> > I don't know what to do.  :-)

Oh, and the choices get even worse when you add in SpamAssassin calls.
The question is, where in .procmailrc do you call spamc (or
spamassassin)?

On my home system -- which has a definitely under-utilized cpu -- it
doesn't make much difference. I call spamassassin on any mail that
wants to enter my inbox.

On a shared system, however, it's worthwhile doing some for-sure
filtering before passing messages to the cpu-cycle-sucking spam
filters. Here's the pseudo-logic of my .procmailrc:

1. Identify and file away system mail (root, postmaster, ...), since
   it's unlikely to be spam

2. Identify and file away mail from moderated mailing lists; it's also
   unlikely to be spam

3. Call spamassassin; file away spam

4. Identify and file away mail from unmoderated mailing lists that
   didn't get marked as spam.

5. Drop the rest into my inbox.

By putting spamassassin in position 3 instead of 1, I figure I save a
few hundred (sometimes a thousand) needless invocations of
spamassassin.



>
> :0:
> * ^TO_ .*plug at lists.pdxlinux.org
> PLUG
>
> * ^TO_ .*plug at pdxlinux.org
> PLUG
>
> HTH,
>
> Rich
>
> Dr. Richard B. Shepard, President
>
>                        Applied Ecosystem Services, Inc. (TM)
>             2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
>  + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
>                          http://www.appl-ecosys.com/
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>

--Paul Heinlein <heinlein at madboa.com>




More information about the PLUG mailing list