Thanks to all.  I think procmail will give the most instant
gratification.

Edward Iglesias
Systems Librarian
Central Connecticut State University
860.832.2082 

-----Original Message-----
From: Bill Moseley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 20, 2005 9:37 AM
To: Iglesias, Edward G. (Library)
Cc: perl4lib@perl.org
Subject: Re: Email and perlscripts


On Thu, Oct 20, 2005 at 09:28:03AM -0400, Iglesias, Edward G. (Library)
wrote:
> Greetings All,
> 
> I recently inherited a server which crashed.  On that server were 
> several scripts used by a variety of people in my system.  One of them

> was a script for turning a fund report into a webpage.  It would work 
> by having the Collection Development email a report to a user called 
> fundlist.  On arrival a script would run turning it into a webpage.  I

> was able to move the script and get it to work fine.  Unfortunately I 
> can only do this manually by issuing a command like
> 
> cat mbox | ./fundlist.pl
> 
> I can't figure out how to automate this.  Any ideas?

Try procmail.  It can pipe an email to a program when it is received.

-- 
Bill Moseley
[EMAIL PROTECTED]

Reply via email to