Possible Duplicate:
How do I get Postfix to deliver ALL mail to a custom script?
I've followed this series of tuts on rackspace and have set up a Ubuntu Lucid email server. Now, I can send emails from command line and receive emails to a file in /var/mail
. What I'd like to do is either
- direct incoming emails to a script to parse the email, or
- find a script that will parse that file in
/var/mail
Can anyone point me in the right direction? I'm not finding what I need through Google. Thanks!