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 317518 - Errors reading imap folders
Errors reading imap folders
Status: RESOLVED DUPLICATE of bug 315976
Product: evolution
Classification: Applications
Component: Mailer
2.4.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-09-29 13:50 UTC by John Ehrlinger
Modified: 2006-05-01 21:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Output to stderr. (7.85 KB, text/plain)
2005-09-29 17:26 UTC, John Ehrlinger
Details
stdout (27.67 KB, text/plain)
2005-09-29 17:28 UTC, John Ehrlinger
Details
stdout with ssl=never (12.03 KB, text/plain)
2005-09-29 19:13 UTC, John Ehrlinger
Details
stderr ssl=never (3.62 KB, text/plain)
2005-09-29 19:16 UTC, John Ehrlinger
Details
Namespace kludge output... (16.03 KB, text/plain)
2005-09-30 13:12 UTC, John Ehrlinger
Details

Description John Ehrlinger 2005-09-29 13:50:00 UTC
Please describe the problem:
I'm connecting to Solaris IMAP from SUSE 9.3, installed Evolution 2.4 from
red-carpet.

First tried using existing accounts: Evo seemed to hang with message "scanning
folders on <mail_host>

Removed all cached folders in .evolution/mail/imap, still hangs in scanning
folders. 

Removed all .gconf settings, and recreated account, now I get a dialog:
-----
Error while Scanning folders in "IMAP server <mail_host>".

Unexpected response from IMAP server: 13844:error:02001002:system
library:fopen:No such file or directory:bss_file.c:104:fopen('server.pem','r')
-----

Imap works find on for another server. I don't know what system that is running
though.

I've tried it with "show only subscribed folders" both on and off. Same response.

Steps to reproduce:
1. Create IMAP account to Solaris IMAP server
2. Try to connect
3. 


Actual results:
Error while Scanning folders dialog

Expected results:


Does this happen every time?
Worked in Version 2.2 and before.

Other information:
 rpm -qi evolution
Name        : evolution                    Relocations: (not relocatable)
Version     : 2.4.0.0.200509270340              Vendor: Novell, Inc.
Release     : 0.snap.novell.11.1            Build Date: Tue 27 Sep 2005 02:50:02
AM EDT
Install date: Thu 29 Sep 2005 08:59:15 AM EDT      Build Host:
public-build-5.boston.ximian.com
Group       : Applications/Productivity     Source RPM:
evolution-2.4.0.0.200509270340-0.snap.novell.11.1.src.rpm
Size        : 41961468                         License: GPL
Signature   : (none)
URL         : http://www.ximian.com/products/evolution/
Comment 1 parthasarathi susarla 2005-09-29 14:32:32 UTC
hey john, thanks for the report. Please export CAMEL_VERBOSE_DEBUG=1 and then
run evolution and put those traces you get here. Thanks
Comment 2 John Ehrlinger 2005-09-29 17:26:34 UTC
Created attachment 52820 [details]
Output to stderr.

This is the output to stderr with  CAMEL_VERBOSE_DEBUG=1
Comment 3 John Ehrlinger 2005-09-29 17:28:28 UTC
Created attachment 52821 [details]
stdout 

stdout with CAMEL_VERBOSE_DEBUG=1
Comment 4 parthasarathi susarla 2005-09-29 18:08:34 UTC
Seeing these things a lot in the debug:

Unexpected response from IMAP server: 27971:error:02001002:system
library:fopen:No such file or directory:bss_file.c:104:fopen('server.pem','r')


Seems like its an issue with the server with regard to the security settings.
Not sure what it means though. sigh!
Comment 5 John Ehrlinger 2005-09-29 18:35:09 UTC
Good thought on security settings. I had "Use Secure Settings: Always"

Remove that, and results differ... I'll post another attachement.
Comment 6 John Ehrlinger 2005-09-29 19:12:23 UTC
With "Use Secure Settings: Never", gets a list of all files in my user account
but doesn't show anything (with or without show only subscribed folders).

The status message stays on "Scanning folders on ..."

Comment 7 John Ehrlinger 2005-09-29 19:13:32 UTC
Created attachment 52824 [details]
stdout with ssl=never
Comment 8 John Ehrlinger 2005-09-29 19:16:13 UTC
Created attachment 52825 [details]
stderr ssl=never
Comment 9 John Ehrlinger 2005-09-30 13:07:33 UTC
I can get to mail if "Override server-supplied folder namespace" and "Show only
subscribed folders"

Then I see a trash and sent folder, but no inbox, If I link the inbox from
/var/mail/uname to the new namespace folder, I can read the mail there but it
seems like a kludge.

CAMEL log to follow.
Comment 10 John Ehrlinger 2005-09-30 13:12:50 UTC
Created attachment 52852 [details]
Namespace kludge output...
Comment 11 John Ehrlinger 2005-09-30 13:14:08 UTC
I also get the following error dialog message on startup.

IMAP command failed: SUBSCRIBE failed: Already subscribed to mailbox INBOX

But I don't see the INBOX folder, only the Trash, Junk and the namespace folder.
(not Sent as previously stated.)

Comment 12 parthasarathi susarla 2005-10-02 05:00:32 UTC
you need to resubscribe to the 'mail' folder. Will let you know whats with the
INBOX though (could you try re-subscribing it)
Comment 13 Shreyas Srinivasan 2005-12-16 08:30:32 UTC
Unsubscribe and re-subscribe to the Inbox. This could be similar to the problems
we had with courier imap when there was a No Select flag set on the Inbox by
default. Thats a server bug we have a kludge around that in 2.4.2. Although i am
not very sure if its the same problem.
Comment 14 Shreyas Srinivasan 2005-12-16 08:31:27 UTC
Unsubscribe and re-subscribe to the Inbox. This could be similar to the problems
we had with courier imap when there was a No Select flag set on the Inbox by
default. Thats a server bug we have a kludge around that in 2.4.2. Although i am
not very sure if its the same problem.
Comment 15 Elijah Newren 2006-01-23 22:44:54 UTC
John: YOU ROCK!  I've been stuck with pine for several months because Evolution was not at all functional for me.  Your kludge workaround (symlink to /var/mail/<name> under the namespace folder) made it so that I can use Evo again.  WOOHOO!

Anyway... comment 9 looks like bug 315944, bug 315976, and possibly bug 317178.  The unsubscribe/resubscribe suggestion comments 12-14 is worthless as the folders aren't shown in order to be able to subscribe to them.
Comment 16 John Ehrlinger 2006-01-24 13:40:28 UTC
(In reply to comment #13)
> Unsubscribe and re-subscribe to the Inbox. 

I can't unsub/resub since the subscriptions dialog has only the namespace folder listed. I don't see how to add the other mail files to the dialog. 

I'm sure it's a server thing, since other IMAP servers are working well.
Comment 17 John Ehrlinger 2006-01-24 13:51:09 UTC
Elijah, all four of these bugs look exactly the same. I haven't tried to retarget my namespace, as it works now with the kludge, so I don't want to mess it up. I'll be it's multiple namespace problem though.
Comment 18 parthasarathi susarla 2006-01-25 10:15:23 UTC
i checked out all the logs and stuff. There are 2 aspects to this problem.

The server issue: the whole issue with the server, it seems to be totally borked.

Evo issue:the namespace thingy. we actually wanted to get the support in by 2.6 - we have a lot of code w.r.t the feature. But not quite stable and complete to be put in on head. and since the bugs bug 315944, bug 315976, and bug 317178
already filed on the namespace issue, i think this bug can be closed.
Suggesstions/Comments??
Comment 19 Elijah Newren 2006-05-01 21:43:59 UTC
Wahoo!  Jeff fixed the namespace thing; since parthasarathi suggested that this was the thing keeping the bug open, I'm marking as a dupe.  

*** This bug has been marked as a duplicate of 315976 ***