After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 634505 - evolution imap doesn't give feedback when in offline mode
evolution imap doesn't give feedback when in offline mode
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.30.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-11-10 11:49 UTC by Wilfried Goesgens
Modified: 2011-08-12 09:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sniff of evolution talking to citadel imap server (899 bytes, application/cap)
2010-11-10 11:49 UTC, Wilfried Goesgens
Details
output of 'CAMEL_DEBUG=all evolution &>evo.log' (22.91 KB, text/x-log)
2010-11-10 11:51 UTC, Wilfried Goesgens
Details
'work online' greyed (21.75 KB, image/jpeg)
2010-11-16 16:08 UTC, Wilfried Goesgens
Details

Description Wilfried Goesgens 2010-11-10 11:49:59 UTC
Created attachment 174188 [details]
Sniff of evolution talking to citadel imap server

I'm trying to create an imap account with these credentials:

imap://willi:test1234@85.88.5.81:144/

(feel free to try yourself, no sensitive data in there)

its establishing a connection, receiving the greeting from the server, and doesn't do anything further then that afterwards.
Comment 1 Wilfried Goesgens 2010-11-10 11:51:07 UTC
Created attachment 174189 [details]
output of  'CAMEL_DEBUG=all evolution &>evo.log'
Comment 2 Milan Crha 2010-11-10 12:55:30 UTC
Seems to work here, I can connect there, there is something called "Main Floor". This is actual git master, with the IMAP (not IMAP+), without SSL. The only thing is that the connecting is pretty slow, with some impact on other connections too, but apart of that it works.
Comment 3 Wilfried Goesgens 2010-11-10 13:58:37 UTC
you can log into it with the same account data on 
http://i18n.outgesourced.org/

'Main Floor' is the container of the public rooms, you Should see your INBOX in first place.
Comment 4 Milan Crha 2010-11-11 10:02:13 UTC
Yup, I see the Inbox too, even messages in it, I only want to pick something what is not common for all IMAP mail accounts, where the 'Main Floor' was a nice example.

In other words, make sure you are working online, (File->Work online - if it's named "Work Offline, then you are online), then configure your IMAP as:

Server type: IMAP
Server: 85.88.5.81:144
User name: willi
Use secure encryption: No encryption
Authentication type: password

it works for me and should work for you too.
Comment 5 Wilfried Goesgens 2010-11-16 16:08:14 UTC
Created attachment 174608 [details]
'work online' greyed

Ok, 'working online' seems to be my problem; why doesn't the wizard show that? And why does detecting supported SMTP-serverauthentication methods work later on in the wizard?

Why is it greyed?
Comment 6 Matthew Barnes 2010-11-16 16:45:39 UTC
It's greyed out because NetworkManager says you're offline.
Comment 7 Milan Crha 2010-11-18 09:20:35 UTC
Please see also:
http://live.gnome.org/Evolution/FAQ#Why_is_Evolution_offline_when_my_net_connection_is_working.3F

I'm closing this for now.
Comment 8 Wilfried Goesgens 2010-11-18 10:19:21 UTC
ok, so in first place, this bug is here due to evolution not giving feedback in the right places during the setup wizard.

 - testing imap connection for supported authtypes - simply does nothing without feedback.
 - testing smtp conection for supported authtypes - WORKS????

Newly created accounts sit there without any information that nothing is going to happen as long as evolution thinks its offline

When starting evolution, it _WILL_ open a short imap connection and read the welcome header and close the connection again without any comments to the server.

All in all very confusing with no hint about whats really wrong to the user.

please make this persistent (if you believe there is no network connection, don't do SMTP as noted above)

If the user is able to explicitely request a TCP connection, either grey the button or give feedback why clicking the button didn't have any effect.
Comment 9 Milan Crha 2011-08-12 09:42:58 UTC
I fixed this by a commit to bug #656267, user is properly informed about any error which can happen during the "Check supported authentications" operation. For a case of evolution being offline is shown:

   Failed to query server for a list of supported authentication mechanisms.
   You must be working online to complete this operation

This is fixed for evolution 3.1.5+.