Hello.

I have a configuration issue with my qmail-ldap installation running pop3d.
The setup is fairly ordinary: Qmail 1.03 (with qmail-ldap patch applied)
running on RedHat 7.1, with latest OpenLdap, etc.  This installation is
working (forwarding mail, delivering to mailboxes, correctly identifying
users with qmail-ldaplookup, etc.)

However, when trying to connect via a telnet session to the pop3 daemon, I
get the following problem:

> telnet {hostname} 110
+OK <{numbers.morenumbers@hostname}>
USER schmo
+OK
PASS schmo12
-ERR user record incorrect

The pop3d log reports:

@uglynumbers tcpserver: pid xxxx from 192.168.1.1
@uglynumbers tcpserver: ok xxxx 0:192.168.1.2:110 :192.168.1.1::1738
@uglynumbers tcpserver: end xxxx status 256
@uglynumbers tcpserver: status: 0/40

Qmail is started with:

#!/bin/sh

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail

Qmail pop3d is started with:

#!/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 \
    softlimit ${DATALIMIT+"-d$DATALIMIT"} \
    /usr/local/bin/tcpserver \
        -vD"$H$R" \
        ${LOCALNAME+"-l$LOCALNAME"} \
        ${BACKLOG+"-b$BACKLOG"} \
        ${CONCURRENCY+"-c$CONCURRENCY"} \
        -xtcp.cdb \
        -- "${IP-0}" "${PORT-110}" \
    /var/qmail/bin/qmail-popup "${POPUPHOST-`sed 1q /var/qmail/control/me`}"
\
    /var/qmail/bin/auth_pop \
    /var/qmail/bin/qmail-pop3d "${MAILDIRNAME-Maildir}"
'

(This script is simply do not follow ... you will recognise it as Tetsu
Ushijimas).

Please excuse me, but I've R'd the FMs until my eyes have bled, and I still
can't see where I'm stuffing up!  Help!!

With thanks,

Andrew.

Reply via email to