Patrick, if your reference is lifewithqmail like me just set your /service/qmail-smtpd/run similar to this sorry for my bad english since i'm not a native english speaker.
#!/bin/bash export LOCALMFCHECK="" export MFDNSCHECK="" export HELOCHECK="" export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" #QMAILDUID=`id -u qmaild` #NOFILESGID=`id -g qmaild` QMAILDUID=89 NOFILESGID=89 MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; the n echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi if [ ! -f /var/qmail/control/rcpthosts ]; then echo "No /var/qmail/control/rcpthosts!" echo "Refusing to start SMTP listener because it'll create an open relay" exit 1 fi exec /usr/local/bin/softlimit -m 66000000 \ /usr/local/bin/tcpserver -H -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd -r relays.ordb.org -r dnsbl. sorbs.net -r bl.spamcop.net \ /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /usr/bin/ true 2>&1 ----- Original Message ----- From: "Erwin Hoffmann" <[EMAIL PROTECTED]> To: <vchkpw@inter7.com> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 06, 2005 3:34 AM Subject: Re: [vchkpw] Re: smtp-auth problem > Hi Patrick, > > pls. read: > > http://www.fehcom.de/qmail/smtpauth.html > > regards. > --eh. > > At 19:18 05.07.2005 +0200, you wrote: > >Hello List again, > >How do I need to chmod /home/vpopmail/bin/vchkpw to use it the right way > with qmail smtp-auth-patched? Any other vpopmail-things i need to take care > of in this case? Is there way to tell smtp to control every incoming mail > with the vchkpw? How does tcp.smtp.cdb needs to look like and how do I do it? > >I'm getting more and more desperate on this thing... > >Hoping for help > >nice regards > >Patrick Gehm > > > > > > > > > >> > >>> > >>>Hello List, > >>> > >>>On Tuesday, July 5, 2005 at 8:50:01 AM patrick wrote: > >>> > >>>>>> I'm using qmail and vpopmail and just patched up with smtp-auth, > >>>>>Which SMTP-AUTH-patch? > >>>> I'm using Version 0.31 > >>> > >>>From which source exactly? What's the complete download URL you used > >>>to get this patch? > >>> > >><a > >>href="http://members.elysium.pl/brush/qmail-smtpd-auth/dist/qmail-smtpd-au > th-0. > >>31.tar.gz">http://members.elysium.pl/brush/qmail-smtpd-auth/dist/qmail-smt > pd-au > >>th-0.31.tar.gz</a> > >> > >>>> exec /usr/local/bin/softlimit -m 4000000 \ > >>>> /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c > >>>"$MAXSMTPD" \ > >>>> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd \ > >>>> koneg.de /home/vpopmail/bin/vchkpw /bin/true 2>&1 > >>> > >>>Look fine. > >>> > >>>>>Might you have still compiled "roaming users" relay control into your > >>>>>vpopmail? > >>> > >>>> How can I check that? > >>> > >>>You should know which parameters your used to compile vpopmail. You > >>>should have seen a summary of used parameters when you > >>>'./configure'-ed vpopmail. > >>> > >> > >>Well, I did not compile vpopmail by myself. It was pre-installed on my > >>root-server (Suse Linux 9.2). Any way to find out and maybe change now? > >> > >>>>> Might your Outlook Express have POP3-authenticated while you > >>>>>were testing SMTP-AUTH and your IP therefore still be allowed to > >>>>>relay? > >>> > >>>> I don't think so... I restartet Outlook Express with wrong > >>>> Password-Settings for POP3, an tried to send mail without getting > >>>> the pop-box before... it still works without auth. > >>> > >>>What's the output of > >>> > >>>strings /etc/tcp.smtp.cdb > >>> > >>nothing > >> > >>>??? Is your clients IP enumerated there? > >>> > >> > >>no.. and I don't know why it should be... My client doesn't have a fixed > >>external IP either. Besides that I know that other hosts can send over my > >>server 'cause I can see spammails in my queue from time to time, last > week I > >>had about 33000 of them in my queue... That was exactly the point of time > when > >>I started to check that smtp-authentification... > >> > >>>> I read in several manuals that they use cmd5checkpw or the > >>>> checkpassword-tool with smtp-auth. But as far as I understood vchkpw > >>>> should do the job... > >>> > >>>Correct. *You* use 'vchkpw' as password checking tool, because you > >>>want to check against vpopmail handled user pool. Forget about the > >>>other tools, unless you want to authenticate against a different data > >>>base than vpopmails. > >>Right, but isn't there also a way to use one of these tools, because I also > >>got a vpopmail-user in my System? But actually I would be more happy to use > >>just vchkpw... > >> > >>Regards > >>Patrick Gehm > >> > >>>-- > >>>Best regards > >>>Peter Palmreuther > >>> > >>>Blessed are they that run around in circles, for they shall be known > >>>as wheels. > >>> > > > > > > > > Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ > Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24 >