Processing inbound mail

Hi All

Has anyone written any script that would listen for inbound mail and based on its subject process the body ?

Thx

J

look into 'procmail'

I use fetchmail with procmail on my workstation.

In your .fetchmailrc you can direct incoming mail
to procmail.

man fetchmail

man procmail

I cant find both of these on my systems. I am using AIX 5.2, Any ideas as to where to find them or get them. Thanks.