Mostly works – but SMTP error
Everything works except outgoing mail (what Mailpile calls “Send Routes”).
A successful Send Route test (through GMail) returns the following log:
SendMail: from alberto.cottica@gmail.com (), to [u’alberto.cottica@gmail.com ', ‘test@mailpile.is’] via smtp.gmail.com:587
SMTP connection to: smtp.gmail.com:587 as alberto.cottica@gmail.com
connect: (u’smtp.gmail.com’, 587)
reply: ‘220 mx.google.com ESMTP l9sm40919136wic.21 - gsmtp\r\n’
reply: retcode (220); Msg: mx.google.com ESMTP l9sm40919136wic.21 - gsmtp
connect: mx.google.com ESMTP l9sm40919136wic.21 - gsmtp
send: ‘ehlo mailpile.local\r\n’
reply: ‘250-mx.google.com at your service, [151.217.212.176]\r\n’
reply: ‘250-SIZE 35882577\r\n’
reply: ‘250-8BITMIME\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250-ENHANCEDSTATUSCODES\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-CHUNKING\r\n’
reply: ‘250 SMTPUTF8\r\n’
reply: retcode (250); Msg: mx.google.com at your service, [151.217.212.176]
SIZE 35882577
8BITMIME
STARTTLS
ENHANCEDSTATUSCODES
PIPELINING
CHUNKING
SMTPUTF8
send: ‘STARTTLS\r\n’
reply: ‘220 2.0.0 Ready to start TLS\r\n’
reply: retcode (220); Msg: 2.0.0 Ready to start TLS
send: ‘ehlo mailpile.local\r\n’
reply: ‘250-mx.google.com at your service, [151.217.212.176]\r\n’
reply: ‘250-SIZE 35882577\r\n’
reply: ‘250-8BITMIME\r\n’
reply: ‘250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN\r\n’
reply: ‘250-ENHANCEDSTATUSCODES\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-CHUNKING\r\n’
reply: ‘250 SMTPUTF8\r\n’
reply: retcode (250); Msg: mx.google.com at your service, [151.217.212.176]
SIZE 35882577
8BITMIME
AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN
ENHANCEDSTATUSCODES
PIPELINING
CHUNKING
SMTPUTF8
send: ‘AUTH PLAIN AGFsYmVydG8uY290dGljYUBnbWFpbC5jb20gAGJwZndoZnZoeXplcXRscXM=\r\n’
reply: ‘235 2.7.0 Accepted\r\n’
reply: retcode (235); Msg: 2.7.0 Accepted
send: u’mail FROM:<alberto.cottica@gmail.com>\r\n’
reply: ‘250 2.1.0 OK l9sm40919136wic.21 - gsmtp\r\n’
reply: retcode (250); Msg: 2.1.0 OK l9sm40919136wic.21 - gsmtp
send: u’rcpt TO:<alberto.cottica@gmail.com>\r\n’
reply: ‘250 2.1.5 OK l9sm40919136wic.21 - gsmtp\r\n’
reply: retcode (250); Msg: 2.1.5 OK l9sm40919136wic.21 - gsmtp
send: ‘rcpt TO:<test@mailpile.is>\r\n’
reply: ‘250 2.1.5 OK l9sm40919136wic.21 - gsmtp\r\n’
reply: retcode (250); Msg: 2.1.5 OK l9sm40919136wic.21 - gsmtp
send: ‘DATA\r\n’
reply: ‘354 Go ahead l9sm40919136wic.21 - gsmtp\r\n’
reply: retcode (354); Msg: Go ahead l9sm40919136wic.21 - gsmtp
SendMail: from alberto@edgeryders.eu (ugrazyd_xfa6mcsvx36pwasaamq), to [‘alberto@edgeryders.eu’, ‘alberto.cottica@gmail.com’] via mail.edgeryders.eu:143
When I try the same with mail.edgeryders.eu, I get:
SMTP connection to: mail.edgeryders.eu:143 as alberto@edgeryders.eu
connect: (u’mail.edgeryders.eu’, 143)
reply: ‘* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.\r\n’
reply: retcode (-1); Msg: [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
connect: [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
send: ‘ehlo mailpile.local\r\n’
reply: ‘ehlo BAD Error in IMAP command received by server.\r\n’
reply: retcode (-1); Msg: BAD Error in IMAP command received by server.
send: ‘helo mailpile.local\r\n’
reply: ‘helo BAD Error in IMAP command received by server.\r\n’
reply: retcode (-1); Msg: BAD Error in IMAP command received by server.
SendMail: from alberto@edgeryders.eu (ugrazyd_xfa6mcsvx36pwasaamq), to [‘alberto@edgeryders.eu’, ‘alberto.cottica@gmail.com’] via mail.edgeryders.eu:143
I triple-checked my settings: I definitely set the port on mail.edgeryders.eu to 587, NOT 143. However, the damn thing definitely tries to connect to mail.edgeryders.eu on port 143 (compare the first lines of the two tries).