From owner-freebsd-questions Thu Dec 19 20: 9: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 001EA37B401 for ; Thu, 19 Dec 2002 20:09:07 -0800 (PST) Received: from wonkity.com (wonkity.com [63.93.4.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B20C43ED8 for ; Thu, 19 Dec 2002 20:09:07 -0800 (PST) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost.wonkity.com [127.0.0.1]) by wonkity.com (8.12.1/8.11.6) with ESMTP id gBK496uF061616; Thu, 19 Dec 2002 21:09:06 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.1/8.12.1/Submit) with ESMTP id gBK496Ne061613; Thu, 19 Dec 2002 21:09:06 -0700 (MST)?g (envelope-from wblock@wonkity.com) Date: Thu, 19 Dec 2002 21:09:06 -0700 (MST) From: Warren Block To: Mxsmanic Cc: FreeBSD Questions Subject: Re: Getting Perl scripts to work as mail filters In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 20 Dec 2002, Mxsmanic wrote: > *** There's nothing wrong with reinventing procmail like this, but I'm > curious why you consider it "bloated"--it's under 64K on my system. *** > > Bloated in the sense of complexity. My script is one file; I install it by > changing one line in /etc/mail/aliases. Procmail cannot compete with that. Um... install the port, create a .forward file, and set up .procmailrc? There are more complex ways to use it, but I haven't tried them. I looked at some "packaged" versions of procmail setups, and found them too complex to mess with--scoring and weighting and stuff. My setup just filters things, and does a pretty good job of it. The nice thing about procmail is that it has all the hard stuff already handled--dealing with headers or the body of the message, locking, and so on. -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message