Rick Widmer wrote:
Tom Collins wrote:
I think you've found a bug in vchkpw.
Bug? After running this entire situation through my thick head,
again, I more suspect I am trying to do something with vchkpw it was
never intended to do.
>> I think... that vchkpw will not work without a complete working
>> install. It seems to need to have access to the domains,
>> virtualdomains, and users/cdb file.
Exactly. vchkpw expects to run on a system with a full vpopmail
As I thought too. I have already given up on vchkpw just for that
reason. It seemed like a poor use of vchkpw and any changes to make it
work would be silly.
Possibly a separate stand alone program just for authentication against
a vpopmail DB would be a better idea, but I don't know who would be
Looking back 4 years and 11 servers ago, I should have chosen LDAP.
Is no one else using a physically separate outbound smtp server? I am
open to suggestions on how to auth using my vpopmail DB.
John Simpson has a validrcptto patch which modifies qmail-smtp to verify
email addresses against a cdb file, and the latest vpopmail provides an
onchange script that lets you update the cdb files when users are added
I use that on one old Sparc 10 server for user verification, just for
those clients who who insist on paying for a "mailspool".
vpopmaild can be used to verify a vpopmail login. Just attempt to
login to the daemon with the user and password, using the silent
option. If the user is valid the login attempt will succeed. I am
not aware of a program to do this, but if you write one, I would
consider adding it to the contrib directory of vpopmail.
A quick check of using Perl to auth against a vpopmaild instance works
just dandy. I hacked up a copy of the generic checkpassword.pl script
from qmail.org and had it working pretty quickly. It took longer to
upgrade my test server and get vpopmaild working. But what is the silent
option? Did you mean compact?
Let me get some projects out of the way (like DST, again!) and I will
put together a Perl and PHP example.
Thank you for the pointer, you just solved a very big problem for me.
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Maybe they forgot who made that choice possible.