Re: off-topic: procmail (was Re: Get mail)

Walter Ian Kaye (walter@natural-innovations.com)
Thu, 3 Jun 1999 18:13:55 -0700


At 12:40p -0700 06/03/99, Doug Monroe wrote:
>rschramm@whittman-hart.com wrote:
>> 
>> This may be considered heresy, but if you are using unix based mail, there is a
>> tool called procmail that can be used that allows you to filter messages 
>[snip]
>> See http://www.procmail.org/ for more info.
>
>amen to procmail! I couldn't live without it.

Dunno why it would be "heresy". You can pipe email messages from procmail
into a Perl script! It's just <STDIN>, and the messages come individually
(so your script just sees a single message as input -- but you may want
to lock any output files). Works like a charm! I set up such a system at
SLAC which automatically handles various types of submitted announcements.

procmail+perl=power!


-Walter