Found my problem, I think. I ran a script I saw
earlier in the list...
#!/bin/sh
#
# Short script
to check if QMAILQUEUE is applied
#
echo -e '#!/bin/sh\n\ntouch
/tmp/qmailqueue\nexit 0' >> /tmp/checkqq
chmod 755
/tmp/checkqq
QMAILQUEUE="/tmp/checkqq"; export QMAILQUEUE
echo "To:
root@localhost" | /var/qmail/bin/qmail-inject
if [ -e /tmp/qmailqueue ];
then
echo -e "\n\n--------------\nQMAILQUEUE is
installed\n--------------\n";
rm -rf /tmp/qmailqueue
else
echo -e
"\n\n--------------\nQMAILQUEUE is NOT
installed\n--------------\n";
fi;
rm -rf /tmp/checkqq
exit
0
The patch ain't installed. I have been saving
Bruce's patch in advanced editor under the name "qmailqueue.patch".
And then I have been issuing the patch -p1 < qmailqueue.patch command.
I two .rej files.
Start########
Makefile.rej
***************
*** 1483,1494 ****
trigger.o fmtqfn.o quote.o now.o readsubdir.o qmail.o date822fmt.o
\
datetime.a case.a ndelay.a getln.a wait.a seek.a fd.a sig.a
open.a \
lock.a stralloc.a alloc.a substdio.a error.a str.a fs.a
auto_qmail.o \
-
auto_split.o
./load
qmail-send qsutil.o control.o constmap.o newfield.o
\
prioq.o trigger.o
fmtqfn.o quote.o now.o readsubdir.o
\
qmail.o date822fmt.o
datetime.a case.a ndelay.a getln.a
\
wait.a seek.a fd.a
sig.a open.a lock.a stralloc.a alloc.a
\
- substdio.a error.a str.a
fs.a auto_qmail.o auto_split.o
qmail-send.0:
\
qmail-send.8
--- 1483,1494 ----
trigger.o fmtqfn.o
quote.o now.o readsubdir.o qmail.o date822fmt.o \
datetime.a
case.a ndelay.a getln.a wait.a seek.a fd.a sig.a open.a \
lock.a
stralloc.a alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
+
auto_split.o env.a
./load qmail-send qsutil.o control.o constmap.o newfield.o
\
prioq.o trigger.o
fmtqfn.o quote.o now.o readsubdir.o
\
qmail.o date822fmt.o
datetime.a case.a ndelay.a getln.a
\
wait.a seek.a fd.a
sig.a open.a lock.a stralloc.a alloc.a
\
+ substdio.a error.a str.a
fs.a auto_qmail.o auto_split.o env.a
qmail-send.0:
\
qmail-send.8
end
########
########
Start
qmail.c.rej
***************
*** 6,19 ****
#include
"fd.h"
#include "qmail.h"
#include
"auto_qmail.h"
- static char *binqqargs[2] = {
"bin/qmail-queue", 0 } ;
int qmail_open(qq)
struct qmail *qq;
{
int
pim[2];
int pie[2];
if (pipe(pim) == -1) return -1;
--- 6,30 ----
#include "fd.h"
#include "qmail.h"
#include
"auto_qmail.h"
+ #include "env.h"
+ static char
*binqqargs[2] = { 0, 0 } ;
+
+ static void setup_qqargs()
+
{
+ if(!binqqargs[0])
+
binqqargs[0] = env_get("QMAILQUEUE");
+
if(!binqqargs[0])
+ binqqargs[0] =
"bin/qmail-queue";
+ }
int qmail_open(qq)
struct qmail *qq;
{
int
pim[2];
int pie[2];
+
+
setup_qqargs();
if (pipe(pim) == -1) return
-1;
End
########
I
am trying to install without using the rpms. Can someone tell me a way to do
it? The way I am doing it is not working.
Thanks
Doug