X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/23f2b007ecac94848616420b27f0819ea559507e..64ef3b3008a7b990c2c856c24354ed2cabcc76dc:/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");