Commit ec3a66f
Changed files (1)
lib
minbox
lib/minbox/client.rb
@@ -21,6 +21,7 @@ module Minbox
when /^QUIT/i then quit
when /^STARTTLS/i then start_tls
when /^RSET/i then reset
+ when /^NOOP/i then noop
else
logger.error(line)
socket.puts('502 Invalid/unsupported command')
@@ -75,5 +76,9 @@ module Minbox
@body = []
socket.puts '250 OK'
end
+
+ def noop
+ socket.puts '250 OK'
+ end
end
end