QtMoko v48 neofreerunner

dmatthews.org mail at dmatthews.org
Mon Sep 24 21:42:37 CEST 2012


Here's some more smtp debugging - I'm now using the mail.inbox.lv server which supports unencrypted and TLS access

Trying port 587 with TLS:-

Sep 24 20:01:37 neo Qtopia: 250-STARTTLS^M
Sep 24 20:01:37 neo Qtopia: 250-AUTH LOGIN PLAIN^M
Sep 24 20:01:37 neo Qtopia: 250-ENHANCEDSTATUSCODES^M
Sep 24 20:01:37 neo Qtopia: 250-8BITMIME^M
Sep 24 20:01:37 neo Qtopia: 250 DSN" 
Sep 24 20:01:37 neo Qtopia: SMTP :  StartTLS: sent: STARTTLS 
Sep 24 20:01:37 neo Qtopia: SMTP :  response: "220 2.0.0 Ready to start TLS" 
Sep 24 20:01:38 neo Qtopia: Encrypted connect warnings: "'The root certificate of the certificate chain is self-signed, and untrusted'" 
Sep 24 20:01:38 neo Qtopia: SMTP :  Closed connection 
Sep 24 20:01:38 neo Qtopia: socketError: 13 : "The root certificate of the certificate chain is self-signed, and untrusted" 

I get the same message whether I set authentication to login or plain (I'm uncertain which would be correct), but also to none and imap (which I'd expect to be wrong. This makes me think I was too hasty to blame my own mail server's self-signed certificate.

Changing to port 25 which is also supported by the server gives the same error

Sep 24 20:26:18 neo Qtopia: SMTP :  Init: sent: EHLO qtopia-messageserver 
Sep 24 20:26:18 neo Qtopia: SMTP :  response: "250-mail.inbox.lv^M
Sep 24 20:26:18 neo Qtopia: 250-PIPELINING^M
Sep 24 20:26:18 neo Qtopia: 250-SIZE 59900000^M
Sep 24 20:26:18 neo Qtopia: 250-VRFY^M
Sep 24 20:26:18 neo Qtopia: 250-ETRN^M
Sep 24 20:26:18 neo Qtopia: 250-STARTTLS^M
Sep 24 20:26:18 neo Qtopia: 250-AUTH LOGIN PLAIN^M
Sep 24 20:26:18 neo Qtopia: 250-ENHANCEDSTATUSCODES^M
Sep 24 20:26:18 neo Qtopia: 250-8BITMIME^M
Sep 24 20:26:18 neo Qtopia: 250 DSN" 
Sep 24 20:26:18 neo Qtopia: SMTP :  Auth: sent: AUTH LOGIN  
Sep 24 20:26:18 neo Qtopia: SMTP :  response: "334 VXNlcm5hbWU6" 
Sep 24 20:26:18 neo Qtopia: SMTP :  AuthUser: sent: "ZG1hdHRoZXdzQGluYm94Lmx2" 
Sep 24 20:26:18 neo Qtopia: SMTP :  response: "334 UGFzc3dvcmQ6" 
Sep 24 20:26:18 neo Qtopia: SMTP :  AuthPass: sent: <Base64 password hidden> 
Sep 24 20:26:22 neo Qtopia: SMTP :  response: "535 5.7.8 Error: authentication failed: authentication failure" 
Sep 24 20:26:22 neo Qtopia: SMTP :  Closed connection 

With no encryption on port 25:-

Sep 24 20:28:50 neo Qtopia: SMTP :  Init: sent: EHLO qtopia-messageserver 
Sep 24 20:28:50 neo Qtopia: SMTP :  response: "250-mail.inbox.lv^M
Sep 24 20:28:50 neo Qtopia: 250-PIPELINING^M
Sep 24 20:28:50 neo Qtopia: 250-SIZE 59900000^M
Sep 24 20:28:50 neo Qtopia: 250-VRFY^M
Sep 24 20:28:50 neo Qtopia: 250-ETRN^M
Sep 24 20:28:50 neo Qtopia: 250-STARTTLS^M
Sep 24 20:28:50 neo Qtopia: 250-AUTH LOGIN PLAIN^M
Sep 24 20:28:50 neo Qtopia: 250-ENHANCEDSTATUSCODES^M
Sep 24 20:28:50 neo Qtopia: 250-8BITMIME^M
Sep 24 20:28:50 neo Qtopia: 250 DSN" 
Sep 24 20:28:50 neo Qtopia: SMTP :  Auth: sent: AUTH PLAIN  <Base64 username/password hidden> 
Sep 24 20:28:54 neo Qtopia: SMTP :  response: "535 5.7.8 Error: authentication failed: authentication failure" 
Sep 24 20:28:54 neo Qtopia: SMTP :  Closed connection 

Similar result if I try login authentication except the difference does get logged. I'm *definitely* configuring the gui with the correct username and password and that shows up correctly to the qtopiamail.conf. Why do the logs report STARTTLS when I've not configured that?

I need to stop thinking about this, I'm resigned to v48 not being able to send email anyway I know how - sad as for me there was no problem with v35. 

Hope this info is of use to someone. Does anyone suceed in doing this?


-- 
David Matthews 
mail at dmatthews.org



More information about the community mailing list