aboutsummaryrefslogtreecommitdiff
path: root/mta_recv.go
diff options
context:
space:
mode:
Diffstat (limited to 'mta_recv.go')
-rw-r--r--mta_recv.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/mta_recv.go b/mta_recv.go
index c77c46d..1d2c4f3 100644
--- a/mta_recv.go
+++ b/mta_recv.go
@@ -141,6 +141,9 @@ func handle_incoming_server_connection(reader *bufio.Reader, writer *bufio.Write
_, _ = writer.WriteString("221 2.0.0 Bye\r\n")
_ = writer.Flush()
return nil
+ case "NOOP":
+ _, _ = writer.WriteString("250 2.0.0 Ok\r\n")
+ _ = writer.Flush()
case "RSET":
if server_state != server_state_begin {
server_state = server_state_helo