SPUG: Procmail

marlin marlin at 3hats.com
Fri May 26 20:01:27 CDT 2000


Anybody out there know how to make Procmail pipe an imcoming email
(with "inventory" as subject) to a Perl script?

Here's what doesn't work...

	:0
	* ^Subject:.*inventory
	| /path/to/script.pl

Pseudo-Perl is like this...

while (<>) {
	$msg .= $_;
	}
process $msg;

Thanks,

Marlin
-- 
	3 Hats Design
	INTERNET  PRINT  ILLUSTRATION
	5201 15 Ave NW 
	Suite 220
	Seattle, WA 98107
	206.784.1641 phone
	206.784.2231 fax
	marlin at 3hats.com
	http://www.3hats.com

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     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