From owner-freebsd-questions Wed Oct 11 11: 1:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pmade.org (dsl-att1-118-93.sb.101freeway.net [12.44.118.93]) by hub.freebsd.org (Postfix) with ESMTP id A15F437B66C for ; Wed, 11 Oct 2000 11:01:08 -0700 (PDT) Received: from localhost (pjones@localhost) by pmade.org (8.9.3/8.9.3) with ESMTP id LAA12587; Wed, 11 Oct 2000 11:00:55 -0700 (PDT) (envelope-from pjones@pmade.org) Date: Wed, 11 Oct 2000 11:00:55 -0700 (PDT) From: Peter Jones To: Jie Liang Cc: questions@FreeBSD.ORG Subject: Re: FreeBSD mail In-Reply-To: <39E49E1C.CE2C4FAB@ipinc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You can do it in your .forward file like so: "|/path/to/myscript" or in /etc/aliases. On Wed, 11 Oct 2000, Jie Liang wrote: > Hi, > > I have a script which takes STDIN and parses mail into my database, > I want to know how to use a email address to fire my script when a new > mail recieved. > say my email is jliang@ipinc.com > > I'd like to fire my script say myscript when I recieved a mail. > > -- > Jie LIANG > > Internet Products Inc. > > 10350 Science Center Drive > Suite 100, San Diego, CA 92121 > Office:(858)320-4873 > > jliang@ipinc.com > www.ipinc.com > > > -- ....................................................................... : Peter Jones : Unix Geek - Four Wheeling : : pjones@pmade.org : Code Writing - Jesus Freak : :....................................:................................: :echo er|perl -0160 -pe ';$;=ord$/;s;^;"\U$/".chr($\;-11).chr$\;+4;e;': :.....................................................................: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message