I am running this shell script from php using passthru.
#!/bin/sh
printf "Starting Shell script: \n";
printf "command ls -l /var/qmail/bin/qmail-inject\n";
ls -l /var/qmail/bin/qmail-inject;
printf "***\n";
printf "Subject: TESTING FROM SHELL SCRIPT" | /var/qmail/bin/sendmail
> hi, you can use the sendmail wrapper as instructed in the qmail docs.
Done that. Thanks.
>
> if you want to use qmail-inject try:
> system('echo "Subject: test\n\n\nTest" | /var/qmail/bin/qmail-inject
> [EMAIL PROTECTED]');
> ?>
Tired this as well. Nothing.
system('echo "Subject: test\n\n
hi, you can use the sendmail wrapper as instructed in the qmail docs.
if you want to use qmail-inject try:
good luck,
Nuno Silva
- Original Message -
From: "pete collins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 09, 2001 2:07 PM
Subject: R
> 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:[
Technically you shouldn't need to change anything if the sendmail symlink
is in the same place as the original sendmail. It looks like you have a
problem with your qmail configuration.
Can you telnet to port 25 of your box and get the qmail blurf?
Nick.
On Thu, 8 Mar 2001, pete collins wro
PM
To: pete collins; [EMAIL PROTECTED]
Subject: Re: [PHP] Qmail problem
On Fri, 9 Mar 2001 03:43, pete collins wrote:
> I keep getting:
> qmail-inject: fatal: read error
>
> I've tried everything.
>
> Sendmail is symlinked to /var/qmail/bin/sendmail wrapper
>
> $ ls
On Fri, 9 Mar 2001 03:43, pete collins wrote:
> I keep getting:
> qmail-inject: fatal: read error
>
> I've tried everything.
>
> Sendmail is symlinked to /var/qmail/bin/sendmail wrapper
>
> $ ls -l /usr/lib/sendmail
> lrwxrwxrwx 1 root root 28 Aug 25 2000
> /usr/lib/sendmail -> .
7 matches
Mail list logo