maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [SOLVED] smtp to gmail suddenly stopped working when SSL enabled (https://talk.maemo.org/showthread.php?t=96756)

dovf 2016-05-18 17:12

[SOLVED] smtp to gmail suddenly stopped working when SSL enabled
 
UPDATE: turns out most of this thread is a red herring, see below for details...

UPDATE 2: For users happening onto this thread due to Gmail's deprecation of SSLv3 support in June 2016: see comment #39 (which further points to this thread) for the solution.

Hi!

So yesterday morning I see that the sending of emails from my n900 suddenly stopped working. After looking into it a bit, it turns out that if I disable SSL and just connect over port 25, then I can still send emails. But I really don't think I want to be sending emails (including the authentication to gmail!) in the clear...

Any ideas on what's going on? Could it be that gmail is stopping to support the SSL versions on the N900? Why isn't everyone on the forum seeing this issue?

I'm running the latest CSSU stable (21.2011.38-1Smaemo7), my gmail account has two factor authentication and I use an application password for the smtp access -- none of the settings have changed in probably 3 or 4 years... Using modest as my mail client.

Thanks!
Dov

dovf 2016-05-18 22:41

Re: smtp to gmail suddenly stopped working when SSL enabled
 
This thread at the gmail help forum from today seems relevant, though I'm still not sure what my options are on the n900...

justmemory 2016-05-19 06:34

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Quote:

Originally Posted by dovf (Post 1505737)
Hi!

So yesterday morning I see that the sending of emails from my n900 suddenly stopped working. After looking into it a bit, it turns out that if I disable SSL and just connect over port 25, then I can still send emails. But I really don't think I want to be sending emails (including the authentication to gmail!) in the clear...

Any ideas on what's going on? Could it be that gmail is stopping to support the SSL versions on the N900? Why isn't everyone on the forum seeing this issue?

I'm running the latest CSSU stable (21.2011.38-1Smaemo7), my gmail account has two factor authentication and I use an application password for the smtp access -- none of the settings have changed in probably 3 or 4 years... Using modest as my mail client.

Thanks!
Dov

Hi,

I experienced modest failed sending emails yesterday but I thought it is not a big deal; a connection error or something; but yesterday night at home the same thing happend; now I know this is a big issue - I shall look into it too. Thanks for the post!

jm

freemangordon 2016-05-19 06:59

Re: smtp to gmail suddenly stopped working when SSL enabled
 
You may try openssl from cssu-devel repo, to see if it fixes the issue for you

justmemory 2016-05-19 07:23

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Hmm, I have an option to use TLS with port 25 and in this way I can send emails...

sicelo 2016-05-19 07:29

Re: smtp to gmail suddenly stopped working when SSL enabled
 
i have just sent a test message with modest on my CSSU-Thumb device, successfully :rolleyes:
(never even knew that Gmail supported non-SSL/TLS connections)

openssl 0.9.8zh-1+maemo1+0m5+0cssu0 (what a name!!)

peterleinchen 2016-05-20 20:58

Re: smtp to gmail suddenly stopped working when SSL enabled
 
And also on non-CSSU device it is working. Old openssl version.
Using smtp with Normal (TLS) on port 587 ...

But does CSSU stable already included the newest libtinymal?
And I do not use two-way authentification.

dovf 2016-05-23 23:57

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Thanks, all, for your responses!

"Normal (TLS)" is indeed now working for me on port 587; and OTOH, port 25 is not accepting unencrypted connections, as one would hope. Possibly, the other day when I thought I was connecting in the clear over 25, I was actually using SSL/TLS; and possibly, I didn't try the combination of TLS over 587...

SSL over 465 -- which is what I had been using up until now -- indeed is still not working for SMTP.

Thanks, again, for your comments!

dovf 2016-06-10 12:17

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Turns out the whole problem had nothing to do with SSL/TLS, nor was it related to the upcoming deprecation of SSLv3 by gmail (which is occurring, see, for example, this thread from slashdot).

Rather, the problem was that I had moved my .modest directory onto external storage (my internal storage kept filling up because my inbox is growing too large -- but that's another matter ;) ). Naively, I assumed that rather than copying the cache, I could just let it be recreated. However, it turns out that the cache contains some data which should be persisted -- specifically, a configuration setting which tells modest to trust the CAs in the common certificate store...

Apparently, gmail switch their IMAP and SMTP certificates every week (at least, they've switched them three times in the past three weeks). This shouldn't normally be a problem, since all of the certificates are signed by trusted CAs -- however, because modest was no longer using the installed certificates, I was having trouble every few days, with both SMTP and IMAP. So each time over the past three weeks that the cert changed, I would pin it (when modest warns about a bad certificate and allows you to choose whether to proceed or not, if you say "yes" then it will pin that certificate in .modest/cache/camel-cert.db) -- after confirming that it is valid, of course! But when I realized this would be happening once a week, I continued looking into it. I inspected all the certs, saw that the root CAs appeared to be installed correctly, and just couldn't understand why modest wasn't seeing them -- until I finally found the above... The link there explains how to restore the configuration that lets modest use the installed certificates, and now all appears to be working (with either SSL or TLS settings).

We'll see what happens next week when gmail does finally disable SSLv3...

Anyhow, sorry for the noise, but hopefully the information here in this last post may help others in the future...

sicelo 2016-06-10 12:47

Re: smtp to gmail suddenly stopped working when SSL enabled
 
great :)
yes, I've noticed the 'weekly' certificate issue on mutt which I also use on N900

jroman 2016-06-27 15:22

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Hi,
I have fallen into this thread after seing that in the recent days I can not update mail from my gmail account configured as IMAP. gmail does not even ask for the password.
I must be a bit dumb, but, I do not see in this thread a path to follow to reach the solution...
Does any one have an "answer for dummies"?

The problem is:
- open n900 mail
- update accounts
- gmail does nothing since 2016-06-22

Cheers!

justmemory 2016-06-27 18:59

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Quote:

Originally Posted by jroman (Post 1508444)
Hi,
I have fallen into this thread after seing that in the recent days I can not update mail from my gmail account configured as IMAP. gmail does not even ask for the password.
I must be a bit dumb, but, I do not see in this thread a path to follow to reach the solution...
Does any one have an "answer for dummies"?

The problem is:
- open n900 mail
- update accounts
- gmail does nothing since 2016-06-22

Cheers!

Hi!

Same happened to me; modest cannot receive mails from gmail since 06-22; I can send emails though...

jm

dovf 2016-06-28 06:27

Re: smtp to gmail suddenly stopped working when SSL enabled
 
(It may be worth starting a separate thread for this, since it sounds like an issue with IMAP rather than with SMTP...)

Are you seeing any kind of message from modest about a bad signature? The message may only appear the first time you try to connect -- so disconnect your account (just editing the account details should do that) and then try to send/receive messages to reconnect, and note if any message pops up. If not, this doesn't sound like the same issue I was seeing...

In any case, turn on debug logging to see if that provides any hints as to what the problem is -- from the terminal, run this command:
Code:

CAMEL_DEBUG=all /usr/bin/maemo-summoner /usr/bin/modest.launch -s
If you want to save it to a file that can then be posted, add the following at the end of the command, which will save to a file named gmail-imap.log (just make sure before posting that no personal information is in the log...!):
Code:

> gmail-imap.log 2>&1
(Note that the 'greater-than' at the beginning is part of the command, and this should all be added as a continuation of the previous command, on the same line...)

justmemory 2016-06-28 07:16

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Thanks, dovf!

It is interesting, but now modest is able to refresh; I typed the command you wrote (without the saving "option") and it refreshed. Since than it is refreshing and getting the emails. I did not see any odd debug message about bad signature or anything else...
But now another bug disappoints me: modest cannot send emails... :)

(Sometimes it is soooo painful beeing patient to modest...)

jm

dovf 2016-06-28 16:38

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Hmm...

What are your account settings? Outgoing server is presumably smtp.gmail.com? and then, What do you have for Secure connection? And Port?

x_Blaze.It.Beau_x 2016-06-29 04:39

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I could never retrieve the entire messages while using IMAP.
Try POP, it works very well. No need for the terminal. :p

justmemory 2016-07-01 07:03

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Hi,

smtp, yes with secure connection; port 25 but tried with another (default; 465 I think) as well but no success.

I will try POP, thanks.

jm

EDIT// OK, I tried to set POP, but on n900 it always tries to set imap, cannot add pop.gmail.com etc (in gmail account I set POP enabled and disabled IMAP...).

dovf 2016-07-02 19:19

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Try turning on the debug as explained a few posts up and maybe that will give us some clues as to what the issue is...

POP is irrelevant here, I believe. POP/IMAP are for retrieving emails, but sending is done over SMTP either way. So if the problem is with sending, POP won't help...

justmemory 2016-07-04 08:18

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Quote:

Originally Posted by dovf (Post 1508863)
Try turning on the debug as explained a few posts up and maybe that will give us some clues as to what the issue is...

POP is irrelevant here, I believe. POP/IMAP are for retrieving emails, but sending is done over SMTP either way. So if the problem is with sending, POP won't help...

Hi,

you are right about POP I was just curious :)

About debug; this terminal output was created after I pressed the send button:
Code:

Thread 0 >
CamelFolder:get_message('INBOX', '16625') =
class: CamelMimeMessage
mime-type: multipart/alternative; boundary=94eb2c07ff807881310536bb767b
content class: CamelMultipart
content mime-type: multipart/alternative; boundary=94eb2c07ff807881310536bb767b
  class: CamelMimePart
  mime-type: text/plain; charset=UTF-8
  content class: CamelDataWrapper
  content mime-type: text/plain; charset=UTF-8
  class: CamelMimePart
  mime-type: text/html; charset=UTF-8
  content class: CamelDataWrapper
  content mime-type: text/html; charset=UTF-8
< 0 >
CamelException.setv((nil), 3, 'Host lookup failed: 64D602746BBA: Name or service not known')
CamelException.setv((nil), 3, 'Host lookup failed: 64D602746BBA: Name or service not known')
Thread 0 >
CamelStore('maildir://localhost/home/user/.modest/outboxes/GmailID5'):get_folder('outbox', 0) = 0x4a2c0
< 0 >
CamelException.setv((nil), 3, 'Host lookup failed: 64D602746BBA: Name or service not known')
Thread 0 >
CamelFolder:get_message('outbox', '1467619716.9341_3.64D602746BBA') =
class: CamelMimeMessage
mime-type: text/plain; charset=utf-8
content class: CamelDataWrapper
content mime-type: text/plain; charset=utf-8
< 0 >
CamelException.setv(0x438fed10, 2, 'Welcome response error: Unknown')
Thread 0 >
CamelStore('maildir://localhost/home/user/.modest/local_folders'):get_folder('sent', 0) = 0x333408
< 0 >
sending : A00044 UID STORE 16625 FLAGS.SILENT (\Seen)
received: A00044 OK Success

There is a "host lookup failed" message; I do not know why though...

jm

jroman 2016-08-02 16:30

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I got the bit of log that explains (I think) the behaviuor:

Code:

CamelException.setv(0x438ddd68, 307, 'Server unexpectedly disconnected: Input/output error')
CamelException.setv(0x438ddd68, 309, 'Failed to connect to IMAP server imap.gmail.com: Reading IMAP greeting failed')

The user experience with the email app is that it not even try to login to the server: It does not ask for the password.

I have played with all the solutions I have found around CERTs wiht no sucsess...

Hope this lights someone up!

Thanks.

JuhaniJaakola 2016-08-06 17:55

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I have used many years Gmail with N900 without problems, but last June (about 23..28th of June) I could not send messages nor receive messages any more. The problem disappeared by itself on 28th of June, but it re-appeared on 7th of July. After that I have not been able to send nor receive Gmail emails.

I have the same messages in Modest debugging log:

Code:

CamelException.setv(0x4459ad68, 307, 'Server unexpectedly disconnected: Input/output error')
CamelException.setv(0x4459ad68, 309, 'Failed to connect to IMAP server imap.gmail.com: Reading IMAP greeting failed')

However, I can send and receive emails with the Claws email client, which is available in the extras-devel repository. But the user interface in Modest is much better than that of Claws, so I would like to get Modest working again.

I wonder whether the problems with the Modest email client are caused by this change in Gmail:

http://googleappsupdates.blogspot.fi...d-rc4-for.html

Any ideas?

peterleinchen 2016-08-06 18:53

Re: smtp to gmail suddenly stopped working when SSL enabled
 
What is your setting in modest?
ssl on port 993?

But more important question:
are you on CSSU? Which version? And which version is modest, resp. libtinymail?

See also.

JuhaniJaakola 2016-08-07 08:17

Re: smtp to gmail suddenly stopped working when SSL enabled
 
After the problem started, I have played with my acount settings in Modest. I have tried to re-create the account, but no luck. Currently I have the following settings:

Incoming:
server imap.gmail.com
Secure authentication ticked
Secure connection SSL (IMAP4S)
Port 993

Outgoing:
server smtp.gmail.com
Secure authentication: Login
Secure connection SSL
Port 465

I'm not using CSSU. I have updated my N900 regularly from the standard repositories since I got the phone in February 2012.

I have Modest version 3.4.8+0m5 and libtinymail 1.1.92+0m5

peterleinchen 2016-08-07 14:15

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Settings are okay (using the same).

And please follow above linked thread where in first post my solution for non-CSSU people is linked.

JuhaniJaakola 2016-08-07 15:10

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Thanks for your help - but unfortunately it did not help. I followed the instructions (extracting the files from the two tar.gz archives in the / directory) and I even rebooted the N900, but I still can't send nor receive Gmail messages.

However, I can receive messages from a non-Gmail account.

JuhaniJaakola 2016-08-07 15:50

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I took a backup before I extracted those files, and now when I checked the backup I can see that I already had those files! So I have followed your advice earlier when I had problems with Gmail.

The problem that I have now is a new one, and it started in June.

peterleinchen 2016-08-07 17:10

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Hmm?

It should work, as it does here.
Another guess: double layer security switched on? (settings inside google account)
Else I do not know, sorry.

JuhaniJaakola 2016-08-07 17:19

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I have not made any changes in Google accounts. And as I wrote before, Gmail stopped working in June for a dew days, then it started working again by itself, until it broke again on around 7th of July. I had not changed anything when all of that happened.

And I can use Gmail on my N900 with Claws email client. And I can use Gmail on my PC using Thunderbird.

Am I the only one having trouble sending and receiving Gmail messages on N900?

What about number of messages in my Gmail account? I have cleaned up my Inbox but the "All mail" tag keeps growing...

dovf 2016-08-07 21:42

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I haven't been having any problems since the ones that prompted me to start this thread, and which were solved as explained in comment 9...

FWIW, I don't have the "Secure authentication" checkbox marked (I think it doesn't actually matter for gmail, authentication happens after the SSL connection is created?); and (unrelated) I *do* use two-factor authentication, with an application-specific password for modest.

My account is set up in modest with gmail as the provider (as opposed to a generic account with the gmail setting manually created), so choosing port 993, for example, is grayed out. Are you using a generic account which just happens to have the gmail settings, or is the account actually set up with gmail as the provider?

(I don't know of any of this matters, just trying to figure out what could be different in our setups...).

How about outgoing email via Gmail (smtp.gmail.com) -- is that working for you? If not, how is it failing?

JuhaniJaakola 2016-08-08 06:40

Re: smtp to gmail suddenly stopped working when SSL enabled
 
1 Attachment(s)
I have attached a log which I created with the following command:

CAMEL_DEBUG=all /usr/bin/maemo-summoner /usr/bin/modest.launch -s > modest.txt 2>&1

I have two email accounts, so please ignore references to NIC and saunalahti.fi in the log.

I have created my Gmail account so that I selected Gmail as the provider, so I had the port 993 grayed as well.

I'm not using two-factor authentication.

I tried to change my user name so that it includes @gmail.com and so that it is omitted - it did not affect the problem. I even deleted my Gmail account and re-created it, but still no change.

Outgoing mail (smtp) is failing as well. I don't know which messages in the log file refer to incoming (IMAP) and outgoing (SMTP) traffic.

Regarding certificates: when running command "nsscfg -c /home/user/.modest/cache -i" it shows information about libmaemosec_certman as described in bug 9262 on bugs.maemo.org.

dovf 2016-08-08 22:21

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I'm stumped, sorry... I don't see anything in the logs to indicate what the problem is...

The only other difference I can think of is that I'm on CSSU Stable, I have no idea if that matters...

Depending on how much more effort you want to put into this, how familiar you are with the tools, and what your comfort level is with playing around a bit, some further suggestions for exploring the problem:
  • You might want to try to sniff the traffic (e.g., with wireshark) to see if a connection with the gmail servers is even established, or if things go wrong even before that happens...
  • Completely delete (move to backup) the .modest folder on your n900, and start from scratch, see if that makes a difference? (If you do this, don't forget to reconfigure the certificates!)
  • Create a new account on gmail, and try to connect with it?

Good luck!

peterleinchen 2016-08-09 10:37

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I am on "stock" PR but of course with updated tinymail libs.

My account is manually set up.
user name includes '@gmail.com' (but should not matter)
imap ssl 993
smtp ssl 465

And all working ...

JuhaniJaakola 2016-08-09 12:54

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I sniffered network traffic between my N900 and imap.google.com with Wireshark. My N900 sends SSLv2 Client Hello packet with the following Cipher specs:

Code:

Secure Sockets Layer
    SSLv2 Record Layer: Client Hello
        [Version: SSL 2.0 (0x0002)]
        Length: 136
        Handshake Message Type: Client Hello (1)
        Version: SSL 3.0 (0x0300)
        Cipher Spec Length: 111
        Session ID Length: 0
        Challenge Length: 16
        Cipher Specs (37 specs)
            Cipher Spec: SSL2_RC4_128_WITH_MD5 (0x010080)
            Cipher Spec: SSL2_RC2_128_CBC_WITH_MD5 (0x030080)
            Cipher Spec: SSL2_DES_192_EDE3_CBC_WITH_MD5 (0x0700c0)
            Cipher Spec: SSL2_DES_64_CBC_WITH_MD5 (0x060040)
            Cipher Spec: SSL2_RC4_128_EXPORT40_WITH_MD5 (0x020080)
            Cipher Spec: SSL2_RC2_128_CBC_EXPORT40_WITH_MD5 (0x040080)
            Cipher Spec: TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA (0x000088)
            Cipher Spec: TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA (0x000087)
            Cipher Spec: TLS_DHE_RSA_WITH_AES_256_CBC_SHA (0x000039)
            Cipher Spec: TLS_DHE_DSS_WITH_AES_256_CBC_SHA (0x000038)
            Cipher Spec: TLS_RSA_WITH_CAMELLIA_256_CBC_SHA (0x000084)
            Cipher Spec: TLS_RSA_WITH_AES_256_CBC_SHA (0x000035)
            Cipher Spec: TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA (0x000045)
            Cipher Spec: TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA (0x000044)
            Cipher Spec: TLS_DHE_DSS_WITH_RC4_128_SHA (0x000066)
            Cipher Spec: TLS_DHE_RSA_WITH_AES_128_CBC_SHA (0x000033)
            Cipher Spec: TLS_DHE_DSS_WITH_AES_128_CBC_SHA (0x000032)
            Cipher Spec: TLS_RSA_WITH_SEED_CBC_SHA (0x000096)
            Cipher Spec: TLS_RSA_WITH_CAMELLIA_128_CBC_SHA (0x000041)
            Cipher Spec: TLS_RSA_WITH_RC4_128_MD5 (0x000004)
            Cipher Spec: TLS_RSA_WITH_RC4_128_SHA (0x000005)
            Cipher Spec: TLS_RSA_WITH_AES_128_CBC_SHA (0x00002f)
            Cipher Spec: TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA (0x000016)
            Cipher Spec: TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA (0x000013)
            Cipher Spec: SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA (0x00feff)
            Cipher Spec: TLS_RSA_WITH_3DES_EDE_CBC_SHA (0x00000a)
            Cipher Spec: TLS_DHE_RSA_WITH_DES_CBC_SHA (0x000015)
            Cipher Spec: TLS_DHE_DSS_WITH_DES_CBC_SHA (0x000012)
            Cipher Spec: SSL_RSA_FIPS_WITH_DES_CBC_SHA (0x00fefe)
            Cipher Spec: TLS_RSA_WITH_DES_CBC_SHA (0x000009)
            Cipher Spec: TLS_RSA_EXPORT1024_WITH_RC4_56_SHA (0x000064)
            Cipher Spec: TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA (0x000062)
            Cipher Spec: TLS_RSA_EXPORT_WITH_RC4_40_MD5 (0x000003)
            Cipher Spec: TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 (0x000006)
            Cipher Spec: TLS_RSA_WITH_NULL_SHA (0x000002)
            Cipher Spec: TLS_RSA_WITH_NULL_MD5 (0x000001)
            Cipher Spec: TLS_EMPTY_RENEGOTIATION_INFO_SCSV (0x0000ff)

I get the following reply from imap.google.com:

Code:

Secure Sockets Layer
    TLSv1 Record Layer: Alert (Level: Fatal, Description: Protocol Version)
        Content Type: Alert (21)
        Version: TLS 1.0 (0x0301)
        Length: 2
        Alert Message
            Level: Fatal (2)
            Description: Protocol Version (70)

To me this looks like Google does not accept the encryption protocols that my N900 offers for protocol negotiation? Google has dropped support for some protocols, see this announcement:

http://googleappsupdates.blogspot.fi...d-rc4-for.html

Claws works - maybe it uses different libraries for encryption than Modest?

Peter, have you upgraded encryption libraries on your N900?

peterleinchen 2016-08-09 13:12

Re: smtp to gmail suddenly stopped working when SSL enabled
 
To me this lokks exactly like you analyzed on your own.
N900 offering up to SSL3 and google demanding TLS1.

This would tell me the new libtinymail libraries from CSSU (or my extracted tar.gz files) are not in place.

And no, I have not (yet) upgraded ssl libs (0.9.8n).

JuhaniJaakola 2016-08-09 15:44

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Quote:

This would tell me the new libtinymail libraries from CSSU (or my extracted tar.gz files) are not in place.
I extraced the two .tar.gz files that were attached into the posting that you mentioned earlier in this thread. However, I realized that I had already done so a year or two ago :-)

Here are the dates and sizes of my tinymail files, do you have the same?

Code:

Nokia-N900:~# ls -l /usr/lib/camel-lite-1.2/camel-providers/libcamel* /usr/lib/libcamel-lite-1.2.so.0* /usr/lib/libtinymail*
176252 Jul 14  2010 /usr/lib/camel-lite-1.2/camel-providers/libcamelas.so
    11 Jul 14  2010 /usr/lib/camel-lite-1.2/camel-providers/libcamelas.urls
168212 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamelimap.so
    5 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamelimap.urls
 70672 Jun 30  2010 /usr/lib/camel-lite-1.2/camel-providers/libcamelisync.so
    20 Jun 30  2010 /usr/lib/camel-lite-1.2/camel-providers/libcamelisync.urls
 89608 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamellocal.so
    22 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamellocal.urls
 44868 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamelnntp.so
    10 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamelnntp.urls
 52128 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamelpop3.so
    4 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamelpop3.urls
  7804 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamelsendmail.so
    9 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamelsendmail.urls
 24520 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamelsmtp.so
    5 Jun 13  2013 /usr/lib/camel-lite-1.2/camel-providers/libcamelsmtp.urls
    26 Aug  7 17:48 /usr/lib/libcamel-lite-1.2.so.0 -> libcamel-lite-1.2.so.0.0.0
733852 Jun 13  2013 /usr/lib/libcamel-lite-1.2.so.0.0.0
    26 Aug  7 17:48 /usr/lib/libtinymail-1.0.so.0 -> libtinymail-1.0.so.0.190.0
117292 Jun 13  2013 /usr/lib/libtinymail-1.0.so.0.190.0
    32 Aug  7 17:48 /usr/lib/libtinymail-camel-1.0.so.0 -> libtinymail-camel-1.0.so.0.190.0
239796 Jun 13  2013 /usr/lib/libtinymail-camel-1.0.so.0.190.0
    35 Aug  7 17:48 /usr/lib/libtinymail-gnomevfs-1.0.so.0 -> libtinymail-gnomevfs-1.0.so.0.190.0
  7260 Jun 13  2013 /usr/lib/libtinymail-gnomevfs-1.0.so.0.190.0
    32 Aug  7 17:48 /usr/lib/libtinymail-maemo-1.0.so.0 -> libtinymail-maemo-1.0.so.0.190.0
 27404 Jun 13  2013 /usr/lib/libtinymail-maemo-1.0.so.0.190.0
    28 Aug  7 17:48 /usr/lib/libtinymailui-1.0.so.0 -> libtinymailui-1.0.so.0.190.0
  8108 Jun 13  2013 /usr/lib/libtinymailui-1.0.so.0.190.0
    32 Aug  7 17:48 /usr/lib/libtinymailui-gtk-1.0.so.0 -> libtinymailui-gtk-1.0.so.0.190.0
 95080 Jun 13  2013 /usr/lib/libtinymailui-gtk-1.0.so.0.190.0

I have libssl0.9.8 version 0.9.8n-1+maemo4+0m5

peterleinchen 2016-08-09 20:02

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Hmm, on first glance they look the same. But the dates are different. And checking some backup/temp folders I have those files with exactly the same file sizes but different dates. And they differ!

I have files with date of Nov 2014
and the uploaded tar.gz should have too.

So best: download again, extract to a temporary folder and diff the extracted libs, e.g.~
$ diff tmp/tinymail/usr/lib/libcamel-lite-1.2.so.0.0.0 /usr/lib
/libcamel-lite-1.2.so.0.0.0

If they differ, put them in correct place, killall modest and try again.
If not: out of ideas...

Code:

~ $ ll /usr/lib/camel-lite-1.2/camel-providers/libcamel* /usr/lib/libcamel-lite-1.2.so.0* /usr/lib/libtinymail*
-rw-r--r--    1 root    root        176252 Jul 14  2010 /usr/lib/camel-lite-1.2/camel-providers/libcamelas.so
-rw-r--r--    1 root    root            11 Jul 14  2010 /usr/lib/camel-lite-1.2/camel-providers/libcamelas.urls
-rw-r--r--    1 root    root        168212 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamelimap.so
-rw-r--r--    1 root    root            5 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamelimap.urls
-rw-r--r--    1 root    root        70672 Jun 30  2010 /usr/lib/camel-lite-1.2/camel-providers/libcamelisync.so
-rw-r--r--    1 root    root            20 Jun 30  2010 /usr/lib/camel-lite-1.2/camel-providers/libcamelisync.urls
-rw-r--r--    1 root    root        89608 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamellocal.so
-rw-r--r--    1 root    root            22 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamellocal.urls
-rw-r--r--    1 root    root        44832 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamelnntp.so
-rw-r--r--    1 root    root            10 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamelnntp.urls
-rw-r--r--    1 root    root        52128 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamelpop3.so
-rw-r--r--    1 root    root            4 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamelpop3.urls
-rw-r--r--    1 root    root          7804 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamelsendmail.so
-rw-r--r--    1 root    root            9 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamelsendmail.urls
-rw-r--r--    1 root    root        24520 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamelsmtp.so
-rw-r--r--    1 root    root            5 Nov  2  2014 /usr/lib/camel-lite-1.2/camel-providers/libcamelsmtp.urls
lrwxrwxrwx    1 root    root            26 Jan  5  2016 /usr/lib/libcamel-lite-1.2.so.0 -> libcamel-lite-1.2.so.0.0.0
-rw-r--r--    1 root    root        733852 Nov  2  2014 /usr/lib/libcamel-lite-1.2.so.0.0.0
lrwxrwxrwx    1 root    root            26 Jan  5  2016 /usr/lib/libtinymail-1.0.so.0 -> libtinymail-1.0.so.0.190.0
-rw-r--r--    1 root    root        117292 Jun 13  2013 /usr/lib/libtinymail-1.0.so.0.190.0
lrwxrwxrwx    1 root    root            32 Jan  5  2016 /usr/lib/libtinymail-camel-1.0.so.0 -> libtinymail-camel-1.0.so.0.190.0
-rw-r--r--    1 root    root        240124 Nov  2  2014 /usr/lib/libtinymail-camel-1.0.so.0.190.0
lrwxrwxrwx    1 root    root            35 Jan  5  2016 /usr/lib/libtinymail-gnomevfs-1.0.so.0 -> libtinymail-gnomevfs-1.0.so.0.190.0
-rw-r--r--    1 root    root          7260 Jun 13  2013 /usr/lib/libtinymail-gnomevfs-1.0.so.0.190.0
lrwxrwxrwx    1 root    root            32 Jan  5  2016 /usr/lib/libtinymail-maemo-1.0.so.0 -> libtinymail-maemo-1.0.so.0.190.0
-rw-r--r--    1 root    root        27404 Jun 13  2013 /usr/lib/libtinymail-maemo-1.0.so.0.190.0
-rw-r--r--    1 root    root        406825 Jun 19  2013 /usr/lib/libtinymail_ori.tar.bz2
lrwxrwxrwx    1 root    root            28 Jan  5  2016 /usr/lib/libtinymailui-1.0.so.0 -> libtinymailui-1.0.so.0.190.0
-rw-r--r--    1 root    root          8108 Jun 13  2013 /usr/lib/libtinymailui-1.0.so.0.190.0
lrwxrwxrwx    1 root    root            32 Jan  5  2016 /usr/lib/libtinymailui-gtk-1.0.so.0 -> libtinymailui-gtk-1.0.so.0.190.0
-rw-r--r--    1 root    root        95080 Jun 13  2013 /usr/lib/libtinymailui-gtk-1.0.so.0.190.0
~ $


JuhaniJaakola 2016-08-09 20:15

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I downloaded the two tar.gz files (libtinymail-camel.tar.gz and libtinymail-tiny.tar.gz) from the attachments of this message:

http://talk.maemo.org/showpost.php?p...7&postcount=13

That message is dated 2013-06-21 so it can't possibly contain files with date Nov 2014.

Can I download a newer version somewhere?

nieldk 2016-08-09 20:42

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Quote:

Originally Posted by JuhaniJaakola (Post 1512178)
I downloaded the two tar.gz files (libtinymail-camel.tar.gz and libtinymail-tiny.tar.gz) from the attachments of this message:

http://talk.maemo.org/showpost.php?p...7&postcount=13

That message is dated 2013-06-21 so it can't possibly contain files with date Nov 2014.

Can I download a newer version somewhere?

If the files dates were touched, for example, install date ?

peterleinchen 2016-08-09 20:47

Re: smtp to gmail suddenly stopped working when SSL enabled
 
Quote:

Originally Posted by JuhaniJaakola (Post 1512178)
I downloaded the two tar.gz files (libtinymail-camel.tar.gz and libtinymail-tiny.tar.gz) from the attachments of this message:

http://talk.maemo.org/showpost.php?p...7&postcount=13

That message is dated 2013-06-21 so it can't possibly contain files with date Nov 2014.

Can I download a newer version somewhere?

Oops, absolutely right!
Sorry. It was that long ago I mixed it up / forgot somehow. Sorry.

Please check old place once more and you will find the post edited to link you to
http://talk.maemo.org/showpost.php?p...8&postcount=44
with latest libs.

JuhaniJaakola 2016-08-09 21:17

Re: smtp to gmail suddenly stopped working when SSL enabled
 
I downloaded the two tar.gz files from your posting on 2014-11-06 and followed your instructions and rebooted my N900 - and now both sending and receiving Gmail messages work!

Many thanks!


All times are GMT. The time now is 02:25.

vBulletin® Version 3.8.8