Hi,

i just reinstalled qmail-ldap with the qmail-ldap-1.03-20030801a.patch and
smtp-auth-20030801.patch. After 'make setup check' i got the new
qmail-smtpd binary.. ehlo advertises the new DATAZ feature.

I've tested smtp-auth manually:

> auth login
> username_base64_encoded
> password_base64_encoded

(encoded by 'echo -n username|base64')

after 1 second i get:

< 535 auth failure

smtpd log

2003-08-20 19:34:29.546286500 tcpserver: status: 1/40
2003-08-20 19:34:29.547026500 tcpserver: pid 32376 from 213.54.176.150
2003-08-20 19:34:29.553648500 tcpserver: ok 32376
lun.slsgate.org:213.239.192.88:25 :213.54.176.150::32195
2003-08-20 19:34:57.245873500 tcpserver: end 32376 status 0
2003-08-20 19:34:57.246238500 tcpserver: status: 0/40

no movement on the slapdlog


I know that openldap works, pop3 imap and qmail are all using it.

My /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/local/bin/tcpserver \
        -vDU"$H$R" \
        ${LOCALNAME+"-l$LOCALNAME"} \
        ${BACKLOG+"-b$BACKLOG"} \
        ${CONCURRENCY+"-c$CONCURRENCY"} \
        -xtcp.cdb \
        -- "${IP-0}" "${PORT-25}" \
    /var/qmail/bin/qmail-smtpd /var/qmail/bin/auth_smtp /usr/bin/true
'
-------------------

ls -l /var/qmail/bin/auth_smtp
-rwxr-xr-x  1 root  qmail  65536 Aug 20 16:34 auth_smtp


Thanks for any help, and hints how i could track down the problem.

- bene

Reply via email to