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.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.
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.
-----
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