On Aug 5, 2006, at 09:44:44  GMT+02:00, Charles Butcher wrote:

I am writing an SMTP authentication plugin for qpsmtpd which will call vchkpw.

Different error codes require different treatment; e.g. "incorrect password" is fatal, whereas some errors should probably allow a retry before dropping the connection.

So can the various error code values from vchkpw be relied upon, or are they subject to change? Are they officially published somewhere in the doco/specs or is the source code the only authoritative reference?


They have to adhere to the standard set by the checkpassword implementation from DJB. http://cr.yp.to/checkpwd/interface.html is the interface, it's exit codes and how to react upon those exit codes.

Good luck,
Bert JW Regeer

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to