I am up running with 0.29 now. I'm not running vpopmail. How can I use this plugin then? Any examples?
plugins/auth/auth_vpopmail_sql _is_ the example. Basically, you register an auth hook for whichever auth methods you are going to support (note that to support CRAM-MD5, you need to have local access to the plaintext password). Then your plugin gets the username and password (either cleartext or hash depending on method) and you get to decide whether the authentication passes or fails. Return OK if it passes and DECLINED if it doesn't (so other auth methods can try too).
Read the documentation in lib/Qpsmtpd/Auth.pm for more details...
John
