On Tue, 2004-06-01 at 11:31, Franck wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > I've a problem with vpopmail 5.5.0 and roaming user. I've compile > > > vpopmail like this but, i couldn't log in via pop3 before smtp. > > > > > > I've testing with Kmail : > > > - smtp.my_domain.com > > > - login : [EMAIL PROTECTED] > > > - password : mypass > > > - Authentification : login or cram or plain > > > > > > oops, unable to write pipe and I can't auth (#4.3.0) > > > > that's not pop-before-smtp. You're trying to use SMTP auth and haven't set > > it up properly. > > Yes, i've patch qmail with colapse.sh and with shupp's patch > qmail-toaster-0.6-1.patch > . > > Show us your smtp run script. > > #!/bin/sh > PATHQMAIL="/var/qmail" > > PATH="$PATHQMAIL/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/sbin:/usr/ > sbin:/sbin" > QMAILQUEUE=$PATHQMAIL/bin/qmail-scanner-queue.pl > export PATH > export QMAILQUEUE > > QMAILDUID=`id -u qmaild` > NOFILESGID=`id -g qmaild` > MAXSMTPD=`cat $PATHQMAIL/control/concurrencyincoming` > LOCAL=`head -1 $PATHQMAIL/control/me` > HOTE=my_domain.com > SPAM="-r relays.ordb.org" > SOFTLIMIT=37000000 > > if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; > then > echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in > echo $PATHQMAIL/supervise/smtpd/run > exit 1 > fi > > if [ ! -f $PATHQMAIL/control/rcpthosts ]; then > echo "No $PATHQMAIL/control/rcpthosts!" > echo "Refusing to start SMTP listener because it'll create an open > relay" > exit 1 > fi > > exec /usr/local/bin/softlimit -m $SOFTLIMIT \ > /usr/local/bin/tcpserver -v -p -H -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb \ > - -c $MAXSMTPD -u $QMAILDUID -g $NOFILESGID 0 smtp \ > rblsmtpd $SPAM \ > qmail-smtpd $HOTE \ > /home/vpopmail/bin/vchkpw /bin/true 2>&1 > > ++
Hi, maybe this won't help much but I think with the SMTP auth patch your qmail-smtpd run shouldn't contain the $HOTE before vchkpw. See if removing it changes something. Also maybe using recordio could shed some light on this. I'm using Bill's patch too, here's an excerpt from my qmail-smtpd run file: exec /usr/local/bin/softlimit -m 16000000 \ envdir /etc/relay-ctrl \ /usr/bin/relay-ctrl-chdir \ /usr/local/bin/tcpserver -v -H -R -l 0 \ -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /usr/bin/recordio /usr/local/bin/rblsmtpd -b -r sbl.spamhaus.org -r relays.ordb.org \ /usr/bin/relay-ctrl-check /var/qmail/bin/qmail-smtpd \ /Appz2/VPopMail/bin/vchkpw /bin/true 2>&1