SPUG: Procmail

Bill Campbell bill at celestial.com
Sat May 27 10:02:01 CDT 2000


On Fri, May 26, 2000 at 06:01:27PM -0700, marlin wrote:
>Anybody out there know how to make Procmail pipe an imcoming email
>(with "inventory" as subject) to a Perl script?

I use deliver instead of procmail, and deliver will execute a perl script,
$HOME/.deliver, (or any other language for that matter).  I prefer this to
procmail because (a) I don't have to learn yet another language, and (b) it
gives me a lot more flexibility.  Deliver reads the standard output of your
script to determine what to do with the mail, and you can do anything you
want.

I use it to screen incoming messages for duplicates by maintaining a
history database on message-id:, put mail in separate boxes, etc.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Systems, Inc.
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``We shouldn't elect a President;  we should elect a magician.''
    Will Rogers

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 For Subscriptions, Email to majordomo at pm.org:  ACTION  spug-list  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email address





More information about the spug-list mailing list