on 10/10/01 12:49 AM, vpopmail at [EMAIL PROTECTED] spake: > Hi, > I use vpopmail 5.0 and qmail-1.0.3.Where can I find information about SMTP > Auth with vpopmail? > Thanks. > > regards,
Here's a popular qmail patch for smtp-auth: http://members.elysium.pl/brush/qmail-smtpd-auth/ I wrote to the author because FAQ #2 (for using vpopmail) is WAY out of date. I offered an updated answer, based on my experiences with current versions, but never heard back. Here's a copy of what I wrote: 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. Hope this helps, Cheers, Bill Shupp
