qmail auth error: "454 oops, unable to write pipe and I can't auth (#4.3.0)" Help!

ZeroX

2[H]4U
Joined
Jan 29, 2001
Messages
2,396
Here's the transcript of a telnet session with the server:
Code:
220 rauros.net ESMTP
ehlo
250-rauros.net
250-STARTTLS
250-PIPELINING
250-8BITMIME
250 AUTH LOGIN PLAIN CRAM-MD5
auth login
334 VXNlcm5hbWU6
{base64 username}
334 UGFzc3dvcmQ6
{base64 password}
454 oops, unable to write pipe and I can't auth (#4.3.0)
quit
221 rauros.net
The tail end of my qmail-smtpd/run:
Code:
exec /usr/local/bin/softlimit -m 25000000 \
    /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd /var/qmail/bin/qmail-smtpd rauros.net /bin/checkpassword /bin/true 2>&1
My tcp.smtp rules file:
Code:
127.:allow,RELAYCLIENT="",QS_SPAMASSASSIN="yes",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
:allow,QS_SPAMASSASSIN="yes",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
My file permissions:
Code:
-rwsr-sr-x  1 root root 10268 2004-09-09 14:06 /bin/checkpassword
-rwxr-xr-x  1 root bin  11364 2004-03-15 21:08 /bin/true
-rwxr-xr-x  1 root root   818 2004-09-09 14:07 /var/qmail/supervise/qmail-smtpd/run

All of this is running on Slackware X.

Anybody see anything off? I've set up qmail w/ auth+tls before, without a hitch, and now it's giving me problems. I'd really appreciate any help.

edit: This is netqmail 1.05 w/ the auth+tls patch listed on the netqmail site.
 
Problem fixed! I did a LOT of searching on mailing lists and google and come up with this:

Not all auth patches are created equally! Apparently, the way one auth patch utilized a password checking utility is different from how another would. So, in my qmail-smtpd/run file, I do
Code:
/var/qmail/bin/qmail-smtpd rauros.net /bin/checkpassword /bin/true 2>&1
When what I should be doing is
Code:
/var/qmail/bin/qmail-smtpd /bin/checkpassword /bin/true 2>&1

Now it all works! I'm posting this here as an archive in case somebody else looks for it. This method works for netqmail 1.05 with this particular smtp+auth patch.
 
Back
Top