Re: Qmail problem
| From: | pete collins | Date: | Fri, 09 Mar 2001 14:07:48 +0000 |
| Subject: | Re: Qmail problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43145@lists.php.net to get a copy of this message | ||
> Can you telnet to port 25 of your box and get the qmail blurf?
Sure.
----------------------------------------------------------
$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 mozdev.org ESMTP
HELO localhost
250 mozdev.org
MAIL FROM:petejc@ny.collab.net
250 ok
RCPT TO:pete@mozdev.org
250 ok
DATA
354 go ahead
From:"pete collins" <petejc@ny.collab.net>
To:"pete"<pete@mozdev.org>
Subject:Testing
This is a test man
.
250 ok 984146454 qp 16200
QUIT
221 mozdev.org
Connection closed by foreign host.
----------------------------------------------------------
I even tried this:
<?php
passthru('/var/qmail/bin/qmail-inject petejc@ny.collab.net');
?>
Nothing.
But this works:
$ su httpd
[httpd@tigris bin]$ /var/qmail/bin/qmail-inject petejc@ny.collab.net
Subject: test
testing
^D
php is running as user httpd.
Any ideas?
Thanks
--pete