on 9/27/01 9:59 PM, KENet Webmaster at [EMAIL PROTECTED] spake: > Greetings, > > Well, I couldnt get POP to SMTP authentication to work. I still havent > figured that out, and with the numerous times its been discussed on this > list, I havent seen a real good explanation of how to do it other than > "RTFM" most the time. > > Having read the manual forwards and backwards, and not figuring this out, I > decided to try to do the SMTP Auth instructions that were posted last week. > I downloaded the new qmail-smtpd.c file, did make setup check (which > compiles and installs I believe) and made my run file look like this... > > #!/bin/sh > QMAILDUID=`id -u qmaild` > NOFILESGID=`id -g qmaild` > QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE > > > exec /usr/local/bin/softlimit -m 6000000 \ > /usr/local/bin/tcpserver -H -R -v -p -x /home/vpopmail/etc/tcp.smtp.cdb \ > -u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd > /usr/local/bin/rblsmtpd -rrelays.mail-abuse.org /var/qmail/bin/qmail-smtpd > /home/vpopmail/bin/vchkpw /bin/true 2>&1 > > Im still not sure if qmail-scanner is doing anything (no virus notifications > sent to me yet), but mail is going through. > > Sooo... heres where I am at. Im obviously still not good enough at this to > figure out the problem myself (or it wouldnt be a problem) so I need to > know. What do I need to do to enable Roaming users support (Pop to SMTP) > ORRRR SMTP-AUTH on the server so that my users can use the outbound server. > Personally, I would prefer the first.
Here's how I did it: 1. Apply the smtp-auth patch found here to qmail: http://members.elysium.pl/brush/qmail-smtpd-auth/ 2. If you use qmail-scanner, apply the qmail-queue patch to qmail and install the scanner. 3. Add the qmail-smtp (qmaild) user to the vchkpw group: usermod -G vchkpw qmaild 4. Here's my supervise script for qmail-smtp that does smtp-auth, qmail-scanner, and rblsmtp: #!/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 Hope this helps. Bill Shupp