From 068b38468de8f3c844f7f7d8cec758c90675b1b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Fischer?= Date: Thu, 29 Oct 2020 12:38:48 +0100 Subject: [PATCH] make smtp examples compliant to spec (#706) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Fischer --- config/testdata/blackbox-good.yml | 8 ++++---- example.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/testdata/blackbox-good.yml b/config/testdata/blackbox-good.yml index 8615d3c..4e044b4 100644 --- a/config/testdata/blackbox-good.yml +++ b/config/testdata/blackbox-good.yml @@ -34,14 +34,14 @@ modules: tcp: query_response: - expect: "^220 " - - send: "EHLO prober" + - send: "EHLO prober\r" - expect: "^250-STARTTLS" - - send: "STARTTLS" + - send: "STARTTLS\r" - expect: "^220" - starttls: true - - send: "EHLO prober" + - send: "EHLO prober\r" - expect: "^250-AUTH" - - send: "QUIT" + - send: "QUIT\r" irc_banner: prober: tcp timeout: 5s diff --git a/example.yml b/example.yml index f36a2a9..cdba7a1 100644 --- a/example.yml +++ b/example.yml @@ -77,14 +77,14 @@ modules: tcp: query_response: - expect: "^220 ([^ ]+) ESMTP (.+)$" - - send: "EHLO prober" + - send: "EHLO prober\r" - expect: "^250-STARTTLS" - - send: "STARTTLS" + - send: "STARTTLS\r" - expect: "^220" - starttls: true - - send: "EHLO prober" + - send: "EHLO prober\r" - expect: "^250-AUTH" - - send: "QUIT" + - send: "QUIT\r" irc_banner_example: prober: tcp timeout: 5s -- 2.25.1