{"action":"created","issue":{"url":"https://api.github.com/repos/greenmail-mail-test/greenmail/issues/77","labels_url":"https://api.github.com/repos/greenmail-mail-test/greenmail/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/greenmail-mail-test/greenmail/issues/77/comments","events_url":"https://api.github.com/repos/greenmail-mail-test/greenmail/issues/77/events","html_url":"https://github.com/greenmail-mail-test/greenmail/issues/77","id":87092002,"number":77,"title":"Greenmail SMTP server doesn't handle periods correctly","user":{"login":"randyb","id":1290922,"avatar_url":"https://avatars.githubusercontent.com/u/1290922?v=3","gravatar_id":"","url":"https://api.github.com/users/randyb","html_url":"https://github.com/randyb","followers_url":"https://api.github.com/users/randyb/followers","following_url":"https://api.github.com/users/randyb/following{/other_user}","gists_url":"https://api.github.com/users/randyb/gists{/gist_id}","starred_url":"https://api.github.com/users/randyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randyb/subscriptions","organizations_url":"https://api.github.com/users/randyb/orgs","repos_url":"https://api.github.com/users/randyb/repos","events_url":"https://api.github.com/users/randyb/events{/privacy}","received_events_url":"https://api.github.com/users/randyb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/greenmail-mail-test/greenmail/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-10T20:14:12Z","updated_at":"2015-06-10T21:38:17Z","closed_at":null,"body":"Per http://tools.ietf.org/html/rfc5321#section-4.5.2 :\r\n>      When a line of mail text is received by the SMTP server, it checks\r\n>      the line.  If the line is composed of a single period, it is\r\n>      treated as the end of mail indicator.  If the first character is a\r\n>      period and there are other characters on the line, the first\r\n>      character is deleted.\r\n\r\n`com.icegreen.greenmail.mail.MovingMessage#readDotTerminatedContent` handles the the case of a line containing a single period, but does not handle the case where a line starts with a period and there are other characters.\r\n\r\nThe end result is mail sent to Greenmail's SMTP server can contain extra periods when retrieved via IMAP or POP3."},"comment":{"url":"https://api.github.com/repos/greenmail-mail-test/greenmail/issues/comments/110922148","html_url":"https://github.com/greenmail-mail-test/greenmail/issues/77#issuecomment-110922148","issue_url":"https://api.github.com/repos/greenmail-mail-test/greenmail/issues/77","id":110922148,"user":{"login":"randyb","id":1290922,"avatar_url":"https://avatars.githubusercontent.com/u/1290922?v=3","gravatar_id":"","url":"https://api.github.com/users/randyb","html_url":"https://github.com/randyb","followers_url":"https://api.github.com/users/randyb/followers","following_url":"https://api.github.com/users/randyb/following{/other_user}","gists_url":"https://api.github.com/users/randyb/gists{/gist_id}","starred_url":"https://api.github.com/users/randyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randyb/subscriptions","organizations_url":"https://api.github.com/users/randyb/orgs","repos_url":"https://api.github.com/users/randyb/repos","events_url":"https://api.github.com/users/randyb/events{/privacy}","received_events_url":"https://api.github.com/users/randyb/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T21:38:17Z","updated_at":"2015-06-10T21:38:17Z","body":"I'll give it a shot."}}