On Monday, October 29, 2001, at 09:05 AM, [WIS] Christof Egner wrote:
> Hello; > > is there a patch for vpopmail 5.0 available for qmail smtp auth? (see: > http://members.elysium.pl/brush/qmail-smtpd-auth/faq.html) > > The patch there only works with 3.4.somewhat > > Yours, > Christof Egner I sent the message below to the author of that patch, but I don't think it was ever used. I may have sent it to this list in the past, but couldn't find it in the archives, so my apologies if this is a duplicate. Regards, Bill Shupp ############################################ From: Bill Shupp <[EMAIL PROTECTED]> Date: Fri Sep 28, 2001 09:28:44 AM US/Central To: <[EMAIL PROTECTED]> Subject: FAQ #2 out of date Hello. I use your smtp-auth patch successfully with vpopmail. Thanks for providing it! Your FAQ #2 (how to use the patch with vpopmail) is very much out of date. I thought I'd provide you with an updated one to use if you like: 2. Is this possible to use your patch with vpopmail? Answer: Yes! Follow the 3 steps below: 1. Apply the smtp-auth patc to qmail found here: http://members.elysium.pl/brush/qmail-smtpd-auth/ 2. Add the qmail-smtp user (probably qmaild) to the vchkpw group: usermod -G vchkpw qmaild 3. Setup your qmail-smtp startup script. Here's an sample supervise script: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/tcpserver -l 0 -R -H \ -x /home/vpopmail/etc/tcp.smtp.cdb \ -c 100 -u"$QMAILDUID" -g"$NOFILESGID" 0 smtp \ /var/qmail/bin/qmail-smtpd \ /home/vpopmail/bin/vchkpw \ /bin/true 2>&1 Here's my supervise script (in the "Life with Qmail" style) for qmail-smtp that does smtp-auth, qmail-scanner (requires the qmail-queue patch), and rblsmtpd: #!/bin/sh QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` export QMAILQUEUE exec /usr/local/bin/tcpserver -l 0 -R -H \ -x /home/vpopmail/etc/tcp.smtp.cdb \ -c"$MAXSMTPD" -u"$QMAILDUID" -g"$NOFILESGID" 0 smtp\ /usr/local/bin/rblsmtpd -t 5 -b \ -r blackholes.mail-abuse.org \ -r 'relays.mail-abuse.org:Open relay problem - see <URL:http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%>' \ /var/qmail/bin/qmail-smtpd \ /home/vpopmail/bin/vchkpw \ /bin/true 2>&1 I've tested this with single /etc/passwd uid environments and multi /etc/passwd uid environments (for domain quotas). Both seem to work for me. If you post this, you are welcome to post my name and email address in the FAQ if you see fit. Hope this helps. Cheers, Bill Shupp
