Description of problem:
Ok, upgraded to F11 and load up the updated and current version of Thunderbird 3.0beta4 and open up my email accounts (all of which support SSL). 2 IMAP and 1 POP3. 1 of the IMAP accounts uses a legit SSL/TLS cert being a gmail account. The POP3 account same, being from my ISP. The last account, being the second IMAP account is one actually hosted on a personal server I have where I created my own SSL certificates using OpenSSL. They are naturally self-signed and therefore a warning about this and the requirement to set an exception is expected. When the warning appears and the possibility to set an exception is presented, an error complaining about not being able to Identify site appears and you are not permitted to set an exception. Even manually installed the certificates in question as an exception does not solve this problem (presumably because it needs to be done at the time the warning is presented). In Windows this works ok, in Fedora 11, both x86_64 and i586, its broken.
Version-Release number of selected component (if applicable):
3.0beta3 and 3.0beta4
Steps to Reproduce:
1. Setup an IMAP account that requires SSL using a self-signed or otherwise bad certificate.
2. Attempt to connect to the account and wait for the SSL warning to appear.
3. Notice that the warning does not allow you to set an exception because it claims it cannot Identify site.
Cannot set exception as expected.
Should see the warning as expected but be able to download and view/verify the certificate manually to decide if I wanna set an exception and do so at my discretion.
Thank God for KMail...
Created attachment 366733 [details]
Add security exception dialog
This is the dialog I get when I get to the IMAP server without appropriate certificate installed. Do you get this dialog at all or not? If yes, and you click on "Get certificate" button, what happens? If you get a certificate, could you (after inspecting it with "View") click on "Confirm Security Exception"?
Sorry, if I am asking something which is completely obvious and banal to you, but it is hard to discern over the bugzilla level of knowledge on the other side of the web form.
Thank you in advance for any reply
Created attachment 366793 [details]
Failed to identify site...
Not a problem, its a perfectly reasonable assumption. I see that for you it seems to work. But I've attached then the screen (window) shot of what I get. It first says "Attempting to identify site..." or something along those words and then ends with this. And as you can see it does not allow me to click on anything other than cancel. And if I click any of the folders pertaining to that account it just brings up that useless window again. The only thing I can see is that you might be using gnome where I am using KDE, but would that even matter?
Hmm, testing here both on Gnome and KDE and it seems to just work. Do you use gtk-qt-engine by chance or kcm-gtk? Could you switch it off and retest? We had some reports of its malfunctioning some portions of Firefox in the past.
Thank you for any reply
How would I know which I'm using? I also just got curious here at work and setup from scratch the account in Thunderbird 3b4 on my F11 i586 install and it worked! This didn't seem to work before. Maybe my Thunderbird profile didn't upgrade too well from 2.0 or the 3b3 update hosed it somehow? I'm tempted to just rename the ~/.thunderbird directory and start from scratch (though that would hurt setting everything back up from scratch). But I'd like to try your suggestion first...how would I know if I'm using gtk-qt-engine or kcm-gtk and how would I go about changing it to test further?
Ok, I just nuked the profile directory and started from scratch. Now it just hangs with the correct settings put in place on the account setup wizard saying "Thunderbird is looking up the settings for your email account." The username is green, after specifying the correct SMTP server settings and retesting, it too is green. But after 5 minutes, the correct IMAP server settings are still "swirling" or testing. I get the impression it somehow cannot connect to the port, what gives? It doesn't look like its going to time out either.
Created attachment 367535 [details]
Console Error Log
This is really starting to drive me nuts. Even if I delete the account, any manually or previously automatically imported certificates and recreate the account, it hangs on the IMAP server config portion of the wizard and if you try it like 10 times, a few of those times it will actually connect, and when it does though, it throws the same error regarding not being able to identify the site.
However if I remove the ~/.thunderbird profile completely and deal with the same account wizard profile creation madness of most of the time not being able to connect to the IMAP SSL port, it will actually connect and authenticate me! But WITHOUT EVER throwing a certificate exception dialog!!! What the heck is going on!? This is not even consistent. And it will continue to connect without an exception even after I close Thunderbird. It will only revert back to its old behavior if I reattempt account creation after once again removing the profile directory. But its still a random shot because again, 9 out of 10 times it will claim it cannot identify site, and then that 1 last time it will actually connect and authenticate me and download my mail, but WITHOUT ever throwing a cert exception.
Just an update...it appears that now that I've got a profile with the account setup after trying and retrying until it magically went through, while it does not throw up the window to create an exception for the cert, one is somehow magically created on its own. Why would repeating the same steps $rm -rf ./.thunderbird and running thunderbird after that and going through the wizard with the same username password and server name like 20 times yield different results almost every time? Something's not quite right about that.
So, what about trying to understand what's going on between the THunderbird and your server.
Could you take a look at https://wiki.mozilla.org/MailNews:Logging#Linux.2Funix and generate imaps logs, please? Run these commands in terminal:
and then try to reproduce the issue again. Don't do anything else than just configure to that one account. Then quit thunderbird and attach /tmp/thunderbird-imap-log.txt to this bug as uncompressed separate attachment.
Thank you very much
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
Hey guys, I haven't forgotten about this bug. Just been busy. I've since upgraded to F12, but haven't had time to test again. I will hopefully do that by this weekend. So far it seemed to work as expected in an i686 clean installation (no previous profile) on F12 on my laptop. Will test again on the home computer where it matters most.
Guys, I just tested it again on a clean Thunderbird profile (no ~/.thunderbird folder) on my recently upgraded F12 x64 install on the same machine and it works as expected. Also works the same way on my i686 F12 install on my laptop. Both are using the official Thunderbird 3.0 release. So I'm assuming it was either fixed silently between the original beta releases or something in Fedora itself that supported Thunderbird changed between F11 and F12 that fixed the issue, so I'm gonna close this bug report if I can, unless someone says otherwise. Thanks, for hearing me out though.