about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-06-05 11:38:27 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-06-05 11:38:27 +0000
commit76531c14c0b6cbec370afeece25b43525dadbecd (patch)
tree21b3f2a8831892e7bcd0ed2556986e43c15d8474
parentd3dfec19d30b50a0d6d185d07344d24d6819e061 (diff)
downloadsmtpd-starttls-proxy-76531c14c0b6cbec370afeece25b43525dadbecd.tar.gz
smtpd-starttls-proxy-76531c14c0b6cbec370afeece25b43525dadbecd.tar.xz
smtpd-starttls-proxy-76531c14c0b6cbec370afeece25b43525dadbecd.zip
Much better client messaging
-rw-r--r--src/smtpd-starttls-proxy/smtpd-starttls-proxy-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smtpd-starttls-proxy/smtpd-starttls-proxy-io.c b/src/smtpd-starttls-proxy/smtpd-starttls-proxy-io.c
index 5eff7e6..fe67895 100644
--- a/src/smtpd-starttls-proxy/smtpd-starttls-proxy-io.c
+++ b/src/smtpd-starttls-proxy/smtpd-starttls-proxy-io.c
@@ -185,7 +185,7 @@ static int do_notls (char const *s)
 static int do_starttls (char const *s)
 {
   if (buffer_len(&io[0].in))
-    answer_enqueue("503 Stop yammering after saying STARTTLS\r\n") ;
+    answer_enqueue("503 After STARTTLS you need to stfu\r\n") ;
   else
   {
     command_enqueue("RSET\r\n", &trigger_starttls) ;