LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Sendmail Cat to local script. (https://www.linuxquestions.org/questions/linux-general-1/sendmail-cat-to-local-script-353981/)

dlublink 08-16-2005 05:32 PM

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

Nunana 09-05-2005 04:17 AM

I answered the wrong question. sorry.
(this text is not here)


All times are GMT -5. The time now is 09:51 AM.