From owner-freebsd-hackers Mon Dec 18 11:11:44 2000 From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 18 11:11:38 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from gershwin.tera.com (gershwin.cray.com [207.224.230.28]) by hub.freebsd.org (Postfix) with ESMTP id 9C9FF37B400; Mon, 18 Dec 2000 11:11:38 -0800 (PST) Received: from thought.org (tao.sea.tera.com [207.108.223.55]) by gershwin.tera.com (8.9.3/8.9.3) with ESMTP id LAA03170; Mon, 18 Dec 2000 11:11:35 -0800 (PST) Received: (from kline@localhost) by thought.org (8.11.0/8.11.0) id eBIJBaD72122; Mon, 18 Dec 2000 11:11:36 -0800 (PST) (envelope-from kline) Date: Mon, 18 Dec 2000 11:11:34 -0800 From: Gary Kline To: Dan Langille Cc: Vivek Khera , freebsd-hackers@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: processing incoming mail messages (FreshPorts 2) Message-ID: <20001218111134.C71210@tao.thought.org> References: <14910.20578.512135.887887@onceler.kciLink.com> <200012181822.HAA18724@ducky.nz.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200012181822.HAA18724@ducky.nz.freebsd.org>; from dan@langille.org on Tue, Dec 19, 2000 at 07:23:11AM +1300 X-Organization: Thought Unlimited. Public service Unix since 1986. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 19, 2000 at 07:23:11AM +1300, Dan Langille wrote: > On 18 Dec 2000, at 12:58, Vivek Khera wrote: > > > >>>>> "JSF" == Joseph Scott writes: > > > > JSF> If you don't want to process a message the instant it comes in > > JSF> (via feeding it to a perl script or what ever) you'll need to setup some > > JSF> sort of queue, then have a cron job come through and process the > > JSF> queue. > > > > Or, you could use a mailer system that does it for you. You can > > configure postfix to deliver at most N messages to a specific local > > destination at once, the rest getting queued in the local mail spool. > > If you set this limit to 1, you'd avoid the need for any additional > > file locking as well. > > Thanks. Offline, someone also suggested exim, which contains a perl > interpreter. But I would rather develop an MTA independent solution. > Hi Dan, elm used to have a program /usr/local/bin/filter that did what you want to do, I think. There were concise examples in the elm documentation and it worked well if the load wasn't extremely heavy. I used the filter binary for years; the bad news is that this binary seems to be missing from elm-2.5. No such feature in mutt.... gary -- Gary D. Kline kline@tao.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message