Rick Macdougall wrote:

John Simpson wrote:

On 2006-02-07, at 0759, Rick Macdougall wrote:


Just an FYI to the original poster, the new patch does not require the host name in the run file of qmail-smtpd. If it is there, it will make you an open relay. It's not part of the problem above I believe but I thought you should be made aware of it.


that's actually a good idea. does it use control/me to generate CRAM challenges?


No idea, I just know I got nailed by that one on an upgrade a few years ago.

Rick


   I have change the run smtp file:

#!/bin/sh

VPOPUID=`id -u vpopmail`

VPOPGID=`id -g vpopmail`

MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`

LOCAL=`head -1 /var/qmail/control/me`

exec /usr/bin/tcpserver -v -R -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" -u "$VPOPUID" -g "$VPOPGID" 0 smtp /var/qmail/bin/qmail-smtpd /var/vpopmail/bin/vchkpw /bin/true 2>&1

   Error is the same:

tsuki:/var/qmail/supervise/qmail-smtpd# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
tcpserver: status: 1/20
tcpserver: pid 28975 from 127.0.0.1
tcpserver: ok 28975 localhost:127.0.0.1:25 localhost:127.0.0.1::54057
220 tsuki.fujitsu.es ESMTP
ehlo tsuki.fujitsu.es
250-tsuki.fujitsu.es
250-PIPELINING
250-8BITMIME
250-SIZE 0
250 AUTH LOGIN PLAIN CRAM-MD5
AUTH LOGIN
334 VXNlcm5hbWU6
Cgp0ba2xlQHRlc3QwRuY29t
334 UGFzc3dvcmQ6
CgoxMaajMtw
454 oops, unable to write pipe and I can't auth (#4.3.0)
quit
221 tsuki.fujitsu.es
tcpserver: end 28975 status 0
tcpserver: status: 0/20
Connection closed by foreign host.


But, at the begining i had install qmail+vpopmail+smtp auth in another server, and i get this error in smtp auth (454 oops, unable to write pipe and I can't auth (#4.3.0) ) then i install qmail+vpopmail+smtpauth in another server and i get the same problem, so i think this is a comun problem. Then i think when you install qmail+vpopmail+smtpauth, you always get "unable to write pipe" error.

i have patch qmail with vpopmail/contrib smtp auth, qmail-103.patch (for dns) and errno.patch (for compile error with errno.h).

   Any other idea ?

   Regards,
   N0K.


Reply via email to