GNOME Bugzilla – Bug 347318
Evolution Exchange does not fetch email more than once
Last modified: 2008-07-11 03:31:57 UTC
Please describe the problem: I setup an exchange account against a W2k3 server. When Evo starts up it fetched all events and email. After that the only way to see "I got mail" is to restart it. I'm not sure if it is related to the fact that I haven't been able to make the GAL work so I have the email adresses. Steps to reproduce: 1. Start Evo 2. Configure an exchange account 3. get mail 4. send yourself and email 5. You will not see it reflected in the evo incomming list until you restart (send and receive manually does not fetch any email) Actual results: I don't get any new emails or calendar updates Expected results: Recieve the email that I just sent myself.. I check it via OWA and it is there instantlly Does this happen every time? No, some times if I send the email quick enough I can do a send & recieve and get only the first email Other information: When activating the debug I see the following error: GC: looking up info for username@example.com GC: Connecting to ldap://ADC:3268/ ** (evolution-2.6:12618): WARNING **: LDAP authentication failed (0x31) (evolution-2.6:12618): camel-WARNING **: camel_exception_get_id called with NULL parameter. libnm_glib_nm_state_cb: dbus returned an error. (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files GC: ldap_search auth failed>>> 0
double clicking on Inbox, pressing send/recv mails key is also not getting all the new mails? Your GC server access is failing, with the error "Invalid credentials". That means, either your credentials or wrong or password is expired or something similar..
It is likely that your network manager applet is setting you to offline status. Evolution is integrated with network-manager and will fo offline when n/w manager status is not-connected. Can you start evolution from a terminal with E2K_DEBUG=4 set and give the traces when you press send/recv. (Dont forget to send a mail to urself before that) ?
Created attachment 69128 [details] Evolution Debug with E2K_DEBUG=4
I attached the debuging of evolution, this time it took longer to block. How do I check the network-manager status? I started the network-manager applet, but it's all on my LAN so I can see if there is some intermitence. I there a way of setting up a log for the network-manager? Thanks for your help, Pablo
epablo, The debug traces indicate that you are not in offile mode. But Server is retruning "401 Unauthorized" error, Something related to this http://support.microsoft.com/?kbid=899902 Which version exactly you are using? Is it 2.6.0 or 2.6.2? Is your server having all the SPs?
I checked the server and it's up to date (used MSBA v2.0) I'm running Evolution 2.6.2 (evolution-2.6.2-1.fc5.5) Let me look into the 401. I had overlooked it.
Sushma Rai, I read the info on the 401. I'm not sure if I should apply the patch, I only get the 401 through evolution, OWA users don't have the problem. any other ideas?
Hi again, after getting evolution 2.6.3 going yesterday, I seem to get caught by the next bug in the row right away :-/ I can confirm the described behaviour. I also have a 401 at the first try on the exchange server, but I consider that a glitch since the second try (flaged with the [restarted] tag) succeeeds. What I noticed in common however, is the dbus error at the bottom of the trace. It basically says, that there is no NetworkManager installed at epablos machine, which should not really be a Problem. I, however, have got one, so my trace ends with: libnm_glib_nm_state_cb: dbus returned an error. (org.freedesktop.DBus.Error.AccessDenied) A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.NetworkManager" member "state" error name "(unset)" destination "org.freedesktop.NetworkManager") Note that this also comes from libnm_glib_nm_state_cb. I suspect that any failure in this area puts evolution in offline mode, since any push on the send/recv button does not give any further debug output (which it should, I suppose?) Well I try first to solve the access denied problem and report if it goes away, then. But is it practical to fall into offline mode, if your method of checking wether you are online just propably is the wrong one? cu
I've got NetworkManager working (not for the Cisco-VPN I use, but for a currently unused 2nd ethernet port) and when I enable/disable Networking in nm-applet, the little plug icon in the bottom left corner of evolution (2.6:28594 for that matter) follows neatly. So far, so good. If I now receive an EMail, the counter of unread mails at my inbox in the folder view increments, but the EMail is not shown in the Listbox until restart. This is yet another bug that has been reported here... We need better debugging features. I can't tcpdump the cisco interface, because it lacks a promiscous mode. Is there any docs about those E2K_DEBUG values and such?
Created attachment 70724 [details] Debug with E2k_DEBUG=4
I checked on the 401 problems. The hotfix was not necesary because I had all patches up2date. I made some changes (http://bugzilla.gnome.org/show_bug.cgi?id=348804) on my config and fixed the LDAP problems that were on the debug. Basically the change was on the OWA URL, I appended the username to the URL. I retested and if I leave Evo alone for an half and hour or so it still turns useless. I'm uploading a new trace file.
Created attachment 70739 [details] New crash catched by bugbuddy While testing got a crash that was caught by the bug buddy.
epablo , The Evolution version you are using is 2.6.3? The crash you are observing is in 2.6.3? On what operation you are getting the crash and how frequent it is? Hanno G. Steinke, Please see the bug #349413 for new mails problem.
This seems to be identical to bug #347434. BTW I found this bug in 2.6.2 and 2.6.3. I switched back to 2.6.1 (while staying on 2.6.3 for Evolution and the Data Server) and the bug was gone. So I think I can confirm that this originated in 2.6.2
Hi Mike, Thanks for the workaround! I can confirm that 2.6.1 doesn't have the bug. I can also confirm that it is not related to the NetworkManager warning, I installed and configured the deamon and I was still having the problems. Hanno: the crash is occasional. It happen just that one time. Pablo
The same happens for 2.8. It is not usable with exchange.
See my comment in bug #347434 (BTW, bug #347434 seems to be a duplicate of this bug).
Works in 2.8.2!
(In reply to comment #18) > Works in 2.8.2! > Is it working with svn trunk?
It works fine for me, Can you please try in current stable 2.22.3, thanks in advance.
Works ok for me in 2.22.3 stable
Great !