6.0.0-alpha12
6/12/25

[#9915] IMAP Error when communicating with the server
Summary IMAP Error when communicating with the server
Queue IMP
Queue Version 5.0
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester rafael.molina.sspa (at) juntadeandalucia (dot) es
Created 04/14/2011 (5173 days ago)
Due
Updated 04/19/2011 (5168 days ago)
Assigned
Resolved 04/19/2011 (5168 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/19/2011 12:32:27 AM Michael Slusarz Comment #14
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Courier is broken - it sends an EXISTS response during EXPUNGE 
responses even though the RFC explicitly says there is no need for 
this.  This has been worked around in horde/Imap_Client.
04/19/2011 12:31:40 AM Git Commit Comment #13 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9915:  Work around broken IMAP clients that send EXISTS data in 
EXPUNGE response

  2 files changed, 55 insertions(+), 51 deletions(-)
http://git.horde.org/horde-git/-/commit/500d9d70740146f8603265ba5e16dd53779aa08c
04/18/2011 10:49:21 PM Michael Slusarz Comment #12 Reply to this comment
I do this all the time without any issues.
I've doubled checked, and this happens using traditional mode as 
well. This could be related to the IMAP server (I guess, I'm no 
expert).
It looks like there is an issue with calcualting the UID list after an 
EXPUNGE response.  Jan (and I) are probably not seeing this because 
the VANISHED response is being used instead.
04/18/2011 10:48:13 PM Michael Slusarz Comment #11 Reply to this comment
"Error when communicating with the server"
This error by itself doesn't mean anything - it simply means that the 
AJAX response from the server was broken, most likely because the 
server fatally exited on an error.  So you must look at the Horde log 
to provide any useful information.
04/18/2011 10:45:05 PM Michael Slusarz Comment #10 Reply to this comment
PHP Fatal error:  Call to a member function get() on a non-object in 
/usr/share/php/Horde/Imap/Client/Socket.php on line 2946, referer: 
https://portal.tab-financial.cz/beta/imp/compose-dimp.php?type=reply_auto&folder=INBOX&uid=48811&ajaxui=1&uniq=1303154274052
This is a duplicate of Bug #9845.
04/18/2011 07:35:33 PM info (at) standa-david (dot) com Comment #9 Reply to this comment
I'm facing the same problem.

When I am sending message, Nothing happens (only in error log new log) 
and I must press it again. Then it is sended.

PHP Fatal error:  Call to a member function get() on a non-object in 
/usr/share/php/Horde/Imap/Client/Socket.php on line 2946, referer: 
https://portal.tab-financial.cz/beta/imp/compose-dimp.php?type=reply_auto&folder=INBOX&uid=48811&ajaxui=1&uniq=1303154274052

04/18/2011 08:53:43 AM rafael (dot) molina (dot) sspa (at) juntadeandalucia (dot) es Comment #8 Reply to this comment
I have the error , although i delete only a message.

Im using dovecot as imap server, and  postfix as mail software.

The message is deleted, but appears the notification...

When i using traditional mode, appears blank page when i delete a message.

This is my configuration in backends.php

$servers['imap'] = array(
     // ENABLED by default
     'disabled' => false,
     'name' => 'IMAP Server',
     'hostspec' => '10.72.3.29',
     'hordeauth' => false,
     'protocol' => 'imap',
     'port' => 143,
     // Plaintext logins are disabled by default on IMAP servers (see RFC 3501
     // [6.2.3])
     'secure' => 'notls',
     'maildomain' => '',
     // 'smtphost' => 'smtp.example.com',
     // 'smtpport' => 25,
     'cache' => false,
);



I' have a production server, with egroupware webmail Edition 1.2.9 and 
not have problems, only with new imp.

04/18/2011 08:46:26 AM rsalmon (at) mbpgroup (dot) com Comment #7
New Attachment: imaplog_traditional.txt Download
Reply to this comment
I do this all the time without any issues.
I've doubled checked, and this happens using traditional mode as well. 
This could be related to the IMAP server (I guess, I'm no expert).

04/18/2011 08:35:14 AM Jan Schneider Comment #6 Reply to this comment
I do this all the time without any issues.
04/18/2011 08:28:25 AM rsalmon (at) mbpgroup (dot) com Comment #5 Reply to this comment
I haven't found a way to reproduce.
Found !
Select all messages in a folder and delete them.

04/18/2011 07:40:04 AM rsalmon (at) mbpgroup (dot) com Comment #4
New Attachment: imaplog.txt Download
Reply to this comment
I see the 'Error when communicating with the server' as well. But it 
appears/happens really randomly and not very often. I haven't found a 
way to reproduce.

I use courier-imap 4.8.1
$_prefs['use_trash']['value'] = 1;
$_prefs['delhide']['value'] = 1;

For the following trace, I was using dynamic view, and deleting a few 
selected messages.

2011-04-18T09:13:40+02:00 ERR: HORDE [imp] IMAP error: Error in IMAP 
command received by server. [pid 15078 on line 219 of 
"/var/www/html/hordetest/libs/Horde/Imap/Client/Base.php"]

04/16/2011 07:53:43 AM akif-antispam (at) dinc (dot) org Comment #3 Reply to this comment
I'm facing the same problem.
Sometimes when deleting mail I do get the said error. IMAP log 
(dovecot here) shows: 2011-04-16 09:50:37 IMAP(theuser): Info: 
Connection closed bytes=101/996.
Horde didn't write any logs.

04/14/2011 07:11:54 PM Michael Slusarz Comment #2
Priority ⇒ 1. Low
Reply to this comment
Check the Horde and/or IMAP logs.

For further debugging information, please read the 'AJAX 
Troubleshooting' section in imp/docs/INSTALL.
04/14/2011 06:25:15 PM rafael (dot) molina (dot) sspa (at) juntadeandalucia (dot) es Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Due ⇒ 04/14/2011
Summary ⇒ IMAP Error when communicating with the server
Type ⇒ Bug
Queue ⇒ IMP
Reply to this comment
In IMP H4 (5.0) Final, i have a imap server configured in backends.php.

When i try delete one or severals messages, appears the notification:

"Error when communicating with the server"

In Kronolith this error it's solved in this ticket:
http://bugs.horde.org/ticket/9818

But i dont find any information about imp

Saved Queries