Hi while looking through the code for the previous post I noticed that the return type for smtpd_sasl_auth_cmd in the comment does not correspond to the one in the code.
John --- smtpd/smtpd_sasl_proto.c.orig 2018-12-29 12:00:06.168219924 +0100 +++ smtpd/smtpd_sasl_proto.c 2018-12-29 12:00:24.047039685 +0100 @@ -7,7 +7,7 @@ /* #include "smtpd.h" /* #include "smtpd_sasl_proto.h" /* -/* void smtpd_sasl_auth_cmd(state, argc, argv) +/* int smtpd_sasl_auth_cmd(state, argc, argv) /* SMTPD_STATE *state; /* int argc; /* SMTPD_TOKEN *argv;