Is it possible to get auth-smtp to work with xinetd? I've
patched/compiled/installed the qmail-ldap and smtp-auth patches and
added the following to /etc/xinetd.d/smtp:
service smtp
{
disable = no
flags = REUSE NAMEINARGS
socket_type = stream
protocol = tcp
wait = no
user = qmaild
server = /var/qmail/bin/tcp-env
server_args = -R /var/qmail/bin/qmail-smtpd
/var/qmail/bin/auth_smtp /usr/bin/true
}
I can still send mail without authenticating though. To the best of my
knowledge, I don't have anything setup that would allow anyone to
override the relaying permissions:
Escape character is '^]'.
220 xxxxxx.com ESMTP
EHLO blah.com
250-xxxxxx.com
250-PIPELINING
250-AUTH=LOGIN PLAIN
250-AUTH LOGIN PLAIN
250-SIZE 0
250 8BITMIME
MAIL FROM: [EMAIL PROTECTED]
250 ok
RCPT TO: [EMAIL PROTECTED]
250 ok
DATA
354 go ahead
Subject: testing
From: [EMAIL PROTECTED]
just testing
.
250 ok 1015527126 qp 15791