Commit Diff
--- opensmtpd.c +++ opensmtpd.c @@ -1199,6 +1199,7 @@ osmtpd_newline(struct io *io, int ev, __unused void *a if (ctx == NULL) { if ((ctx = malloc(sizeof(*ctx))) == NULL) osmtpd_err(1, NULL); + ctx->status = SESSION_OK; ctx->ctx.reqid = search.ctx.reqid; ctx->ctx.rdns = NULL; ctx->ctx.fcrdns = OSMTPD_STATUS_TEMPFAIL;