{"action":"created","issue":{"url":"https://api.github.com/repos/mailpile/Mailpile/issues/1169","labels_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1169/labels{/name}","comments_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1169/comments","events_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1169/events","html_url":"https://github.com/mailpile/Mailpile/issues/1169","id":53078029,"number":1169,"title":"Mailpile contacts SMTP server on the wrong port?","user":{"login":"albertocottica","id":1976806,"avatar_url":"https://avatars.githubusercontent.com/u/1976806?v=3","gravatar_id":"","url":"https://api.github.com/users/albertocottica","html_url":"https://github.com/albertocottica","followers_url":"https://api.github.com/users/albertocottica/followers","following_url":"https://api.github.com/users/albertocottica/following{/other_user}","gists_url":"https://api.github.com/users/albertocottica/gists{/gist_id}","starred_url":"https://api.github.com/users/albertocottica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertocottica/subscriptions","organizations_url":"https://api.github.com/users/albertocottica/orgs","repos_url":"https://api.github.com/users/albertocottica/repos","events_url":"https://api.github.com/users/albertocottica/events{/privacy}","received_events_url":"https://api.github.com/users/albertocottica/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-29T22:40:55Z","updated_at":"2015-03-06T15:25:33Z","closed_at":"2015-01-18T17:05:40Z","body":"Hello all, we are trying to run Mailpile on our own self-hosted email addresses. IMAP works, SMTP does not. I am no expert, but it seems that Mailpile contacts the SMTP server on the wrong port (my settings are correctly set to 587):\r\n    `SMTP connection to: mail.edgeryders.eu:143 as alberto@edgeryders.eu`\r\nIf I try the same thing with Gmail, I get instead\r\n   `SMTP connection to: smtp.gmail.com:587 as alberto.cottica@gmail.com`\r\n\r\nBelow I paste the whole logged error message: \r\n````\r\nSendMail: from alberto.cottica@gmail.com  (), to [u'alberto.cottica@gmail.com ', 'test@mailpile.is'] via smtp.gmail.com:587\r\nSMTP connection to: smtp.gmail.com:587 as alberto.cottica@gmail.com\r\nconnect: (u'smtp.gmail.com', 587)\r\nreply: '220 mx.google.com ESMTP l9sm40919136wic.21 - gsmtp\\r\\n'\r\nreply: retcode (220); Msg: mx.google.com ESMTP l9sm40919136wic.21 - gsmtp\r\nconnect: mx.google.com ESMTP l9sm40919136wic.21 - gsmtp\r\nsend: 'ehlo mailpile.local\\r\\n'\r\nreply: '250-mx.google.com at your service, [151.217.212.176]\\r\\n'\r\nreply: '250-SIZE 35882577\\r\\n'\r\nreply: '250-8BITMIME\\r\\n'\r\nreply: '250-STARTTLS\\r\\n'\r\nreply: '250-ENHANCEDSTATUSCODES\\r\\n'\r\nreply: '250-PIPELINING\\r\\n'\r\nreply: '250-CHUNKING\\r\\n'\r\nreply: '250 SMTPUTF8\\r\\n'\r\nreply: retcode (250); Msg: mx.google.com at your service, [151.217.212.176]\r\nSIZE 35882577\r\n8BITMIME\r\nSTARTTLS\r\nENHANCEDSTATUSCODES\r\nPIPELINING\r\nCHUNKING\r\nSMTPUTF8\r\nsend: 'STARTTLS\\r\\n'\r\nreply: '220 2.0.0 Ready to start TLS\\r\\n'\r\nreply: retcode (220); Msg: 2.0.0 Ready to start TLS\r\nsend: 'ehlo mailpile.local\\r\\n'\r\nreply: '250-mx.google.com at your service, [151.217.212.176]\\r\\n'\r\nreply: '250-SIZE 35882577\\r\\n'\r\nreply: '250-8BITMIME\\r\\n'\r\nreply: '250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN\\r\\n'\r\nreply: '250-ENHANCEDSTATUSCODES\\r\\n'\r\nreply: '250-PIPELINING\\r\\n'\r\nreply: '250-CHUNKING\\r\\n'\r\nreply: '250 SMTPUTF8\\r\\n'\r\nreply: retcode (250); Msg: mx.google.com at your service, [151.217.212.176]\r\nSIZE 35882577\r\n8BITMIME\r\nAUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN\r\nENHANCEDSTATUSCODES\r\nPIPELINING\r\nCHUNKING\r\nSMTPUTF8\r\nsend: 'AUTH PLAIN AGFsYmVydG8uY290dGljYUBnbWFpbC5jb20gAGJwZndoZnZoeXplcXRscXM=\\r\\n'\r\nreply: '235 2.7.0 Accepted\\r\\n'\r\nreply: retcode (235); Msg: 2.7.0 Accepted\r\nsend: u'mail FROM:<alberto.cottica@gmail.com>\\r\\n'\r\nreply: '250 2.1.0 OK l9sm40919136wic.21 - gsmtp\\r\\n'\r\nreply: retcode (250); Msg: 2.1.0 OK l9sm40919136wic.21 - gsmtp\r\nsend: u'rcpt TO:<alberto.cottica@gmail.com>\\r\\n'\r\nreply: '250 2.1.5 OK l9sm40919136wic.21 - gsmtp\\r\\n'\r\nreply: retcode (250); Msg: 2.1.5 OK l9sm40919136wic.21 - gsmtp\r\nsend: 'rcpt TO:<test@mailpile.is>\\r\\n'\r\nreply: '250 2.1.5 OK l9sm40919136wic.21 - gsmtp\\r\\n'\r\nreply: retcode (250); Msg: 2.1.5 OK l9sm40919136wic.21 - gsmtp\r\nsend: 'DATA\\r\\n'\r\nreply: '354  Go ahead l9sm40919136wic.21 - gsmtp\\r\\n'\r\nreply: retcode (354); Msg: Go ahead l9sm40919136wic.21 - gsmtp\r\nSendMail: from alberto@edgeryders.eu (ugrazyd_xfa6mcsvx36pwasaamq), to ['alberto@edgeryders.eu', 'alberto.cottica@gmail.com'] via mail.edgeryders.eu:143\r\n````"},"comment":{"url":"https://api.github.com/repos/mailpile/Mailpile/issues/comments/77576524","html_url":"https://github.com/mailpile/Mailpile/issues/1169#issuecomment-77576524","issue_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1169","id":77576524,"user":{"login":"albertocottica","id":1976806,"avatar_url":"https://avatars.githubusercontent.com/u/1976806?v=3","gravatar_id":"","url":"https://api.github.com/users/albertocottica","html_url":"https://github.com/albertocottica","followers_url":"https://api.github.com/users/albertocottica/followers","following_url":"https://api.github.com/users/albertocottica/following{/other_user}","gists_url":"https://api.github.com/users/albertocottica/gists{/gist_id}","starred_url":"https://api.github.com/users/albertocottica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertocottica/subscriptions","organizations_url":"https://api.github.com/users/albertocottica/orgs","repos_url":"https://api.github.com/users/albertocottica/repos","events_url":"https://api.github.com/users/albertocottica/events{/privacy}","received_events_url":"https://api.github.com/users/albertocottica/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T15:25:33Z","updated_at":"2015-03-06T15:25:33Z","body":"@almereyda, any word on this? My installation of Mailpile now has also stopped receiving from Edgeryders. I can try to correct for the problem, but it is pointless if I can't send. Should I just default to Thunderbird + Enigmail for my Community Crypto project?"}}