Bob wrote:
Robin Bowes wrote:
Hi,
Can anyone point me at a "how-to" guide for using smtp auth with qpsmtpd and vpopmail?
Thanks,
R.
So far qpsmtpd has auth plugins to do lookups in a flat file, consult an ldap server, or sql. How does vpopmail store your user database?
Bob,
vpopmail uses a passwd-like flat file, hashed into a cdb for speed.
A sample line is as follows:
robin:"encrypted password":1:0:Robin Bowes:/home/vpopmail/domains/ robinbowes.com/robin:NOQUOTA:"plain text password"
This file is in /home/vpopmail/domains/robinbowes.com, i.e. a different file for each virtual domain.
They provide a utility for checking passwords (vchkpw); I'm not sure of the mechanism it uses but I believe it conforms to "standard" qmail conventions and is a drop-in replacement for the checkpasswd utility that qmail uses (e.g. qmail-pop3d)
R.
