On Mon, Sep 08, 2003 at 03:49:05PM -0500, Ben Bargabus wrote:
> -----------------begin sample /etc/aliases------------------------
> 
> ben_b: "| /path/to/procmail -m /path/to/myprocmail.rc filterben"
> filterben: ben_b at myserver.com

Not needed.  Plus, this will allow people to bypass ben_b as an address.
All I need to do is send email to filterben at whatever...

> # Mails with a score of 5 or higher are dumped to /dev/null
> :0
> * ^X-Spam-Level: \*\*\*\*\*
> /dev/null

or, the less verbose:
  * ^X-Spam-Level: \*{5,}

> # Other emails are accepted and sent to the alias filteralias
> :0
> ! $1

I would simply remove the whole filteralias thing.  Just forward
directly to the address you wish in the procmail recipe.  Far more
secure.  Plus, you need to protect yourself from looping, so use this
before you foward your email:

  HERE_XLOOP=ben_b+procmail at thishost.domain.tld
  :0 fhw
  * $ ! ^X-Loop: $HERE_XLOOP 
  |formail -I "X-Loop: $HERE_XLOOP"

Then forward as usual.  Remember, you could always use the formail as a
delivery recipe (remove "fhw") and pipe the output to "| $SENDMAIL -oi
me at thathost".

-- 
Chad Walstrom <chewie at wookimus.net>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20030908/fbc77ea0/attachment.pgp