How to pipe all incomming mails to php script ?
Posted: Tue Aug 19, 2003 6:39 am
hello everybody,
Anybody helps to solve this problem.
I have to pipe all incomming mails to PHP script.
For this I tried variour options.
1) I make .forword file and write as:- "|/our/script.php"
This file installed on domains home directory.
This is not working so I tried another.
2) I make .qmail file and and write as:- |/our/script.php
but any of this is not working. All the mails directly goes to mailbox
and can not pipe to script.
Is their any other procedure or anything is missing from my side to rectify
this problem.
I have following configuration.
==============================================
Path to send mail = "/usr/sbin/sendmail"
Path to Php Cgi = "#!/usr/bin/php"
==============================================
Please help me.
satish
Anybody helps to solve this problem.
I have to pipe all incomming mails to PHP script.
For this I tried variour options.
1) I make .forword file and write as:- "|/our/script.php"
This file installed on domains home directory.
This is not working so I tried another.
2) I make .qmail file and and write as:- |/our/script.php
but any of this is not working. All the mails directly goes to mailbox
and can not pipe to script.
Is their any other procedure or anything is missing from my side to rectify
this problem.
I have following configuration.
==============================================
Path to send mail = "/usr/sbin/sendmail"
Path to Php Cgi = "#!/usr/bin/php"
==============================================
Please help me.
satish