Hi everyone:

I can't make qmail-queue patch work: I always get "451 unable to exec qq
(#4.3.0)" when finishing DATA with a . on a line by itself (telnet to port
25). The interesting part is, whenever QMAILQUEUE environment variable is
set, no matter its value, the mail doesn't end in qmail-queue.

However, unsetting QMAILQUEUE makes mail delivery work as expected. I've
been looking at the source code, and the problem appears to be in
qmail.c:qmail_open() (just appears to be, because I've been unable to
build the Debian package binaries with debugging information).

As long as "451 unable to exec qq (#4.3.0)" is errorcode 120, the possible
point of failure is either on "if (fd_move(.." or on "execv(.."

Am I missing something ?. My setup is as follows.

Debian Woody's qmail-src package, as of release 18 (that is, original
qmail 1.03 plus netscape progress bar and big DNS patches). Apart from
that, 0.0.0.0, remote authentication, mail from authentication and
qmail-queue patches cleanly applied.

As Debian places qmail binaries under /usr/sbin, qmail-queue patch was
modified to reflect the change on the paths. My /etc/tcp.smtp includes:
192.168.1.10:allow,MFCHECK="1",QMAILQUEUE="/usr/sbin/qmail-queue"

I've tried many scripts as values for QMAILQUEUE and always get "unable to
exec qq". If QMAILQUEUE is not set, no problems.

Any help is highly appreciated. Thank you all.

-- 
José Luis Domingo López
Linux Registered User #189436     Debian GNU/Linux Potato (P166 64 MB RAM)
 
jdomingo EN internautas PUNTO org  => ¿ Spam ? Atente a las consecuencias
jdomingo AT internautas DOT   org  => Spam at your own risk

Reply via email to