6.0.0-alpha12
6/12/25

[#10788] IMP crashes Apache when retrieving Exchange folders
Summary IMP crashes Apache when retrieving Exchange folders
Queue IMP
Queue Version 5.0.14
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester h.wahl (at) ifw-dresden (dot) de
Created 11/21/2011 (4952 days ago)
Due
Updated 11/22/2011 (4951 days ago)
Assigned
Resolved 11/21/2011 (4952 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/22/2011 10:07:02 PM Michael Slusarz Comment #6 Reply to this comment

[Show Quoted Text - 36 lines]
There is nothing wrong with this exchange (other than the fact that 
Exchange doesn't list the INBOX as "subscribed", but we already work 
around that).

You will need to debug further and find where your sever is having 
issues.  Try looking at javascript log on the browser or setting 
Horde's logging to debug and then looking for errors.
11/22/2011 06:31:31 AM h (dot) wahl (at) ifw-dresden (dot) de Comment #5 Reply to this comment
The Exchange server in question is a 2003 server, I tested with Firefox.
I activated debug logging in backends.local.php. I clicked in IMP 
"Folder options" > "Show all folders" and this results in debug file 
in a complete list of folders sent by Exchange server which I could 
not reproduce here completely:
Timestamp: Tue, 22 Nov 2011 07:21:11 +0100
S: * OK Microsoft Exchange Server 2003 IMAP4rev1 server version 
6.5.7638.1 (mailserver.bar) ready.
C: [LOGIN Command - username: mcc1]
S: 1 OK LOGIN completed.
C: 2 LSUB "" *
S: * LSUB () "/" "Sent Items"
S: * LSUB () "/" Trash
S: * LSUB () "/" Sent
S: * LSUB () "/" Drafts
S: 2 OK LSUB completed.
C: 3 LSUB "" "Public Folders/*"
S: 3 OK LSUB completed.
C: 4 LIST "" *
S: * LIST (\HasNoChildren) "/" Aufgaben
....
S: 4 OK LIST completed.
C: 5 LIST "" "Public Folders/*"
...
S: * LIST (\HasNoChildren) "/" {30}
S: [LITERAL DATA - 30 bytes]
S:
S: * LIST (\HasNoChildren) "/" "Public Folders/Whatever"
...
S: 5 OK LIST completed.
C: 6 LIST "" INBOX
S: * LIST (\Marked \HasNoChildren) "/" INBOX
S: 6 OK LIST completed.
C: 7 LOGOUT
S: * BYE Microsoft Exchange Server 2003 IMAP4rev1 server version 
6.5.7638.1 signing off.
S: 7 OK LOGOUT completed.

Apparently the Exchange server gives the whole list of folders to IMP 
but it then fails to display. There stays a "Loading..." statement 
forever and a httpd process freaks out on server.
11/21/2011 10:44:11 PM Michael Slusarz Comment #4 Reply to this comment
At a minimum, you need to at least provide error logs and IMAP logs.



To further debug this issue, we need details of the IMP -> IMAP/POP 
communication.

To enable debugging, see instructions contained in 
imp/config/backends.php (the 'debug' config parameter).

Debugging should not be enabled on a production server,   Attach/post 
only the portion of the log that directly deals with the problem 
reported (it may be simplest to clear the log file and then perform 
the event that causes the error).
11/21/2011 10:19:15 PM h (dot) wahl (at) ifw-dresden (dot) de Comment #3 Reply to this comment
I am sorry but the behavior is different. In ticket #10726 there came 
an error message, here the Apache httpd process goes to use 100% cpu 
and no result in IMP.
11/21/2011 07:45:16 PM Michael Slusarz Comment #2
State ⇒ Duplicate
Reply to this comment
Duplicate of Ticket #10726.
11/21/2011 01:55:22 PM h (dot) wahl (at) ifw-dresden (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ IMP crashes Apache when retrieving Exchange folders
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hello again,
in ticket #10726 you guys found a solution to use IMP with Exchange 
IMAP. Now as one gets logged in and wants to retrieve the folder list 
from Exhange server IMP hangs and leads th a httpd process running 
with nearly 100%. Only cure is restarting Apache.
Regards

Saved Queries