Hi Matt:

At 1:06 PM -0500 12/5/02, Matt Simerson wrote:
Kit, you're reinventing the wheel!
Thanks for getting in touch, but the attempt below is actually qmail with just the SMTP-AUTH patch. I figure if I can't get 1 patch working, my chances for the rest are pretty low. :}

Yes, there are significant problems with simply merging together a bunch of the qmail patches. It took me quite some time to get all the patches I wanted to play nicely together. Now that it's done, feel free to use it: http://matt.simerson.net/computing/mail/toaster/. Pay particular attention to the "Install Qmail (with a few hacks)" section.
IIRC, your stuff looked good when I was first setting this stuff up but I thought it was overkill for what I was doing. I'm doing more now, so maybe it's time to reevaluate that sentiment.

Bill Shupp also has similar patches that I've also heard work well but are linux oriented where mine focuses on the FreeBSD platform. It wouldn't take too much effort to use my setup on Open/NetBSD but those are down the list for me, after making it work on Darwin. (Mac OS X) :)
Cool. I'll look at it when I have a chance (waaaaaay too much going on right now!) & let you know if I uncover any OpenBSD-specific issues.

Thanks,
-Kit

Matt

On Thursday, December 5, 2002, at 12:23  AM, Kit Halsted wrote:

Thanks for the pointers, everybody...

At 11:22 PM -0500 12/3/02, Kit Halsted wrote:
<...>
Tried 0.31 tonight, no luck. Maybe my other patches are interfering? I'll try it at home as the only patch & see how that goes.

2.) Try to run qmail-smtpd as root. Just for testing, but this avoids
    "access denied" to vpasswd.cdb and therefore excludes one possible
    culprit.
Also no luck.
Urgh. Just tried again on my home box, which starts qmail/vpopmail from rc.local instead daemontools. (OpenBSD 3.1, virgin qmail 1.03 + elysium.pl 0.31 auth patch only, vpopmail 5.2.1... D'oh!, okay, vpopmail 5.3.9 now.) I'm back to square one now with relay by IP only, but it sure did fail interestingly for a while. Below is what I was trying to do, I've since reverted back to a working setup so I can send & receive.
-----

From rc.local:

/usr/local/bin/tcpserver -u 1001 -g 1000 -x /home/vpopmail/etc/tcp.smtp.cdb 0 25
\
/var/qmail/bin/qmail-smtpd yabox.kithalsted.com /home/vpopmail/bin/vchkpw /usr/b
in/true \
2>&1 | /var/qmail/bin/splogger smtpd 3 &

<...>

/usr/local/bin/tcpserver -u 1001 -g 1000 -H -R 0 110 \
/var/qmail/bin/qmail-popup yabox.kithalsted.com \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &

(Linewraps courtesy of less, the files are wrapped correctly.)

-----

yabox# ls -al /var/qmail/bin/qmail-smtpd
-rwxr-xr-x 1 vpopmail vchkpw 40960 Dec 4 20:54 /var/qmail/bin/qmail-smtpd

yabox# ls -al /home/vpopmail/etc/tcp.smtp.cdb
-rwxr-xr-x 1 vpopmail vchkpw 4359 Dec 4 22:09 /home/vpopmail/etc/tcp.smtp.cdb

-----

Log entries corresponding to failed send/check from Eudora on my TiBook:

yabox# tail /var/log/maillog
Dec 4 23:36:51 yabox qmail: 1039063011.757314 end msg 889600
Dec 4 23:41:18 yabox qmail: 1039063278.163871 status: local 0/10 remote 0/20
Dec 4 23:41:18 yabox qmail: 1039063278.270637 new msg 889600
Dec 4 23:41:18 yabox qmail: 1039063278.270823 info msg 889600: bytes 230 from <[EMAIL PROTECTED]> qp 24677 uid 0
Dec 4 23:41:18 yabox qmail: 1039063278.328081 end msg 889600
Dec 4 23:41:36 yabox vpopmail[5686]: vchkpw-smtp: password fail [EMAIL PROTECTED]:208.36.84.242
Dec 4 23:41:36 yabox vpopmail[32015]: vchkpw-pop3: setgid 1001 failed errno 1 [EMAIL PROTECTED]:208.36.84.242
Dec 4 23:41:37 yabox vpopmail[26305]: vchkpw-pop3: setgid 1001 failed errno 1 [EMAIL PROTECTED]:208.36.84.242
Dec 4 23:41:56 yabox vpopmail[30076]: vchkpw-pop3: setgid 1001 failed errno 1 [EMAIL PROTECTED]:208.36.84.242
Dec 4 23:41:56 yabox vpopmail[18542]: vchkpw-pop3: setgid 1001 failed errno 1 [EMAIL PROTECTED]:208.36.84.242

-----

(Yes, uid 1001 is vpopmail & gid 1000 is vchkpw.)

-Kit
--
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
-Benjamin Franklin

"...qui desiderat pacem, praeparet bellum"
(...if you would have peace, be prepared for war)
-Flavius Vegetius Renatus

--
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
-Benjamin Franklin

"...qui desiderat pacem, praeparet bellum"
(...if you would have peace, be prepared for war)
-Flavius Vegetius Renatus

Reply via email to