{"action":"closed","issue":{"url":"https://api.github.com/repos/rnwood/smtp4dev/issues/5","labels_url":"https://api.github.com/repos/rnwood/smtp4dev/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/rnwood/smtp4dev/issues/5/comments","events_url":"https://api.github.com/repos/rnwood/smtp4dev/issues/5/events","html_url":"https://github.com/rnwood/smtp4dev/issues/5","id":121994471,"number":5,"title":"EHLO command not returning correct responses? [CodePlex 8630]","user":{"login":"rnwood","id":1327895,"avatar_url":"https://avatars.githubusercontent.com/u/1327895?v=3","gravatar_id":"","url":"https://api.github.com/users/rnwood","html_url":"https://github.com/rnwood","followers_url":"https://api.github.com/users/rnwood/followers","following_url":"https://api.github.com/users/rnwood/following{/other_user}","gists_url":"https://api.github.com/users/rnwood/gists{/gist_id}","starred_url":"https://api.github.com/users/rnwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnwood/subscriptions","organizations_url":"https://api.github.com/users/rnwood/orgs","repos_url":"https://api.github.com/users/rnwood/repos","events_url":"https://api.github.com/users/rnwood/events{/privacy}","received_events_url":"https://api.github.com/users/rnwood/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rnwood/smtp4dev/milestones/1","html_url":"https://github.com/rnwood/smtp4dev/milestones/Fix%20all%20open%20issues%20in%20rnwood.smtpserver%20and%20improve%20tests","labels_url":"https://api.github.com/repos/rnwood/smtp4dev/milestones/1/labels","id":1458598,"number":1,"title":"Fix all open issues in rnwood.smtpserver and improve tests","description":"","creator":{"login":"rnwood","id":1327895,"avatar_url":"https://avatars.githubusercontent.com/u/1327895?v=3","gravatar_id":"","url":"https://api.github.com/users/rnwood","html_url":"https://github.com/rnwood","followers_url":"https://api.github.com/users/rnwood/followers","following_url":"https://api.github.com/users/rnwood/following{/other_user}","gists_url":"https://api.github.com/users/rnwood/gists{/gist_id}","starred_url":"https://api.github.com/users/rnwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnwood/subscriptions","organizations_url":"https://api.github.com/users/rnwood/orgs","repos_url":"https://api.github.com/users/rnwood/repos","events_url":"https://api.github.com/users/rnwood/events{/privacy}","received_events_url":"https://api.github.com/users/rnwood/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":2,"state":"open","created_at":"2015-12-14T08:13:30Z","updated_at":"2015-12-14T19:54:13Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-12-14T08:15:24Z","updated_at":"2015-12-14T19:54:13Z","closed_at":"2015-12-14T19:54:13Z","body":"I downloaded the source code of smtp4dev 2.0.9 and playing around with the Rnwood.SmtpServer to see if I can embed it in a custom server. In my server, I register only the Rnwood.SmtpServer.Extensions.SizeExtension. When I send a message using Mozilla Thunderbird, the transaction fails and Thunderbird says that the server responds with just \"SIZE\". In my case, server ends up in an infinite loop.\r\n\r\nSo, I debug using a telnet session to the server:\r\n```\r\nTrying 127.0.0.1...\r\nConnected to goten.local.\r\nEscape character is '^]'.\r\n220 (none) smtp4dev ready\r\nEHLO example.com\r\n250 Nice to meet you.\r\nSIZE\r\n```\r\nThis is where I notice that the server responded incorrectly, so I sent the QUIT command back to the server and the everything closed correctly.\r\n```\r\nQUIT\r\n221 See you later aligator\r\nConnection closed by foreign host.\r\n```\r\nIf I am interpreting RFC 1869 correctly, I think each line of the EHLO response is suppose start with a \"250\" code:\r\n```\r\nehlo-ok-rsp  ::=     \"250\"    domain [ SP greeting ] CR LF\r\n                    / (    \"250-\"   domain [ SP greeting ] CR LF\r\n                        *( \"250-\"      ehlo-line           CR LF )\r\n                           \"250\"    SP ehlo-line           CR LF   )\r\nI think this is a bug. Any thoughts?\r\n\r\nThanks,\r\nRalph\r\ncomments"}}