Sendmail Cat to local script.
Hey!
I know this is a very newbie question, but here goes....
I have access to a server that has sendmail. I am lost with sendmail and I cannot find a clear tutorial that helps me with what I want.
With postfix I enter the path to a cheapo script I wrote in PHP. With this setup arrived emails are piped to my script.
cat email | /path/to/script/script_name
This works great. But the server I am now using has sendmail. Anyone know how to get a similar setup where the email is piped to my script. Or does anyone know a tutorial that is not to long that would help me with this?
Thanks,
David
|