Hi

I can't get SMTP AUTH to work with qmail-ldap 20031101 and 20031101a.
I've got it working on another server without problems (running
20020901).

This is the response I get to a EHLO command:

220 renr.es ESMTP
ehlo renr.es
250-renr.es
250-PIPELINING
250-SIZE 10000000
250-DATAZ
250-STARTTLS
250 8BITMIME

And this is my current /service/smtpd/run script:

#!/bin/sh
exec 2>&1 \
envdir ./env \
sh -c '
    case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac
    case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;;
esac
    exec \
    envuidgid qmaild \
    softlimit ${DATALIMIT+"-d$DATALIMIT"} \
    /usr/bin/tcpserver \
        -vDU"$H$R" \
        ${LOCALNAME+"-l$LOCALNAME"} \
        ${BACKLOG+"-b$BACKLOG"} \
        ${CONCURRENCY+"-c$CONCURRENCY"} \
        -xtcp.cdb \
        -- "${IP-0}" "${PORT-25}" \
    /var/qmail/bin/pbscheck \
    /var/qmail/bin/qmail-smtpd \
    /var/qmail/bin/auth_smtp \
    /bin/true
'

I've tried with and without the auth_smtp+/bin/true lines, as I've read
on the docs that SMTP AUTH has been somewhat integrated on qmail-smtpd
but couldn't find a reference to a new config scheme/procedure. And of
course, I've also created an env/SMTPAUTH file.

Sending from an IP allowed to do so (RELAYCLIENT="" on the tcp file)
works without problems. POP before SMTP is working too, so the users can
always use that, but you know... when they get a failure on the first
sending attempt they get nervous. ;)

Any ideas as to what am I doing wrong?

-- 
 Vicente Aguilar <[EMAIL PROTECTED]>
 Departamento de Sistemas
 Tlf.: 965 98 71 92

 Recursos en la Red, S.L.U.
 http://www.renr.es

Reply via email to