commit 83258de1495bbfb2896bfe3d17284592782c7560 from: Stefan Sperling date: Mon Mar 11 09:49:08 2024 UTC fix expected bye response commit - 0e1456a374bcd2d4ae6dc1681999910d81490e78 commit + 83258de1495bbfb2896bfe3d17284592782c7560 blob - ab206e0678b79a050d007298939bedaa0ca687aa blob + b66acb785bc4734235c973678e375418db16d938 --- gotd/libexec/got-notify-email/got-notify-email.c +++ gotd/libexec/got-notify-email/got-notify-email.c @@ -279,7 +279,7 @@ send_email(const char *myfromaddr, const char *fromadd if (send_smtp_msg(s, "QUIT\r\n")) errx(1, "could not send QUIT"); - if (read_smtp_code(s, "211")) + if (read_smtp_code(s, "221")) errx(1, "unexpected SMTP response received"); if (skip_to_crlf(s)) errx(1, "invalid SMTP message received");