         # File lib/protocols/smtpserver.rb, line 328
    328:                 def process_starttls
    329:                         if @@parms[:starttls]
    330:                                 if @state.include?(:starttls)
    331:                                         send_data "503 TLS Already negotiated\r\n"
    332:                                 elsif ! @state.include?(:ehlo)
    333:                                         send_data "503 EHLO required before STARTTLS\r\n"
    334:                                 else
    335:                                         send_data "220 Start TLS negotiation\r\n"
    336:                                         start_tls
    337:                                         @state << :starttls
    338:                                 end
    339:                         else
    340:                                 process_unknown
    341:                         end
    342:                 end