I saw this question asked previously on the list but I don't recall a
response. I applied qmail-qfilter as follows:
I renamed qmail-queue -> qmail-queue-old
[root@www bin]# ls -l qmail-queue*
-rws--x--x 1 qmailq qmail 58 Jul 8 21:08 qmail-queue
-rws--x--x 1 qmailq qmail 12708 Jul 8 19:32 qmail-queue-old
[root@www bin]# cat qmail-queue
#! /bin/sh
exec /var/qmail/qfilter/qmail-qfilter /bin/cat
Made the appropriate changes to Makefile:
# Choose TMPDIR carefully. See README for details.
DEFINES = -DTMPDIR=\"/var/qmail/qfilter/tmp\" -DBUFSIZE=4096 \
-DQMAIL_QUEUE=\"/var/qmail/bin/qmail-queue-old\"
This is the error I get:
250 ok
data
354 go ahead
Subject: test
test
.
451 qq temporary problem (#4.3.0)
This is the log for smtpd:
@400000003967d3a330bbc6d4 bin/qmail-queue: bin/qmail-queue: Permission
denied
The permissions for the relevant files/directories are:
drwxr-xr-x 3 root qmail 4096 Jul 8 21:26 qfilter
[root@www qmail]# ls -l qfilter/
total 44
-rws--x--x 1 qmailq qmail 37947 Jul 8 20:31 qmail-qfilter
drwxrwxr-x 2 qmailq qmail 4096 Jul 8 20:31 tmp
thanks,
JES