X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b9e0388a118e84f002ae0da6c7a31bdbd89a73bb..e19df85ee3edbc78b6029aa2344bb62bf4270747:/test/fakesmtp.c diff --git a/test/fakesmtp.c b/test/fakesmtp.c index 42d4f181..449fdec0 100644 --- a/test/fakesmtp.c +++ b/test/fakesmtp.c @@ -101,7 +101,11 @@ main(int argc, char *argv[]) smtp_state = SMTP_DATA; continue; } - if (xoauth != NULL) { + if (xoauth == NULL) { + putcrlf(conn, "250-ready"); + putcrlf(conn, "250-8BITMIME"); + putcrlf(conn, "250-SMTPUTF8"); + } else { /* XOAUTH2 support enabled; handle EHLO and AUTH. */ if (strncmp(line, "EHLO", 4) == 0) { putcrlf(conn, "250-ready");