On Sun, Feb 11, 2001 at 04:57:14AM +0100, Halfdan Mouritzen wrote:
> The thing is I've got a .qmail file which is supposed to recieve
> email, send it to a php script which fiddles around with it
> and sends an answer back to the sender.
> 
> So,
> The mail address is [EMAIL PROTECTED]
> I've got a file called ".qmail-robot" in my home dir
> "usr/hotel/topdog/"
> and a php file called "qmailtest.php " in usr/hotel/topdog/WWW/temp/
> 
> In the .qmail-robot file I've written
> 
> |usr/hotel/topdog/WWW/temp/qmailtest.php

Can you just go piping things into a php script and expect your PHP interpreter
to spring into action to interpret the script for you? Isn't there supposed to
be a web server involved somewhere? (Maybe you can do this, but it would come
as a surprise to me.) What happens if you pipe the data into the script
directly, without involving qmail?

> The .qmail files chmod is 400, since it says in the qmail faq that it
> cant be group or world writable and it cant be executable if
> it contains program lines.
> 
> The qmailtest.php chmod is 777.
> 
> This looks right to me
> BUT IT'S NOT WORKING!!!

Come on. Are you going to make us pull teeth? Define "NOT WORKING." What did
you expect to happen? What did happen? What do the logs say?

And please don't post HTML.

Chris

PGP signature

Reply via email to