6.0.0-beta1
10/17/25

[#11855] First mail that is sent after every login not stored in the sent folder.
Summary First mail that is sent after every login not stored in the sent folder.
Queue Horde Groupware
Queue Version 5.0.2
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester mrose (at) hs-harz (dot) de
Created 12/11/2012 (4693 days ago)
Due
Updated 12/12/2012 (4692 days ago)
Assigned
Resolved 12/12/2012 (4692 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/12/2012 10:47:37 PM Michael Slusarz Comment #7
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Fixed in Horde_Imap_Client 2.4.0.  This was another bad IMAP server 
BINARY implementation - although this was actually a Sun server, not 
Cyrus or UW-IMAP.
12/12/2012 10:44:39 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit 67d520017bcc35fa3497f39eb6642f901af66a86
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Dec 12 15:44:20 2012 -0700

     [mms] Additional workarounds for IMAP servers with broken BINARY 
implementations (Bug #11855).

  .../Imap_Client/lib/Horde/Imap/Client/Socket.php   |   18 ++++++++++++------
  framework/Imap_Client/package.xml                  |    2 ++
  2 files changed, 14 insertions(+), 6 deletions(-)

http://git.horde.org/horde-git/-/commit/67d520017bcc35fa3497f39eb6642f901af66a86
12/12/2012 07:42:35 AM mrose (at) hs-harz (dot) de Comment #5
New Attachment: imap_log.txt Download
Reply to this comment
Attached the debugging.
You see a Login.
And send two emails.
12/11/2012 07:37:21 PM Michael Slusarz Comment #4
Priority ⇒ 1. Low
Reply to this comment
See bug #11769 and the following thread

http://lists.horde.org/archives/horde/Week-of-Mon-20121119/045536.html

Probably a side effect of a workaround for a bug in Cyrus-IMAP.
Yes, this is most likely a duplicate of this issue (meaning your IMAP 
server is broken).  At a minimum we need the IMAP log to confirm.




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).
12/11/2012 12:15:53 PM mrose (at) hs-harz (dot) de Comment #3 Reply to this comment
No, it will not be saved. She will be sent, but not saved.
If you send a second email, everything is OK.
No error and She will be saved.
12/11/2012 11:19:10 AM arjen+horde (at) de-korte (dot) org Comment #2 Reply to this comment
See bug #11769 and the following thread

http://lists.horde.org/archives/horde/Week-of-Mon-20121119/045536.html

Probably a side effect of a workaround for a bug in Cyrus-IMAP. 
Despite the warning message, the sent mail should be saved though,,,
12/11/2012 09:37:47 AM mrose (at) hs-harz (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ First mail that is sent after every login not stored in the sent folder.
Queue ⇒ Horde Groupware
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
All Horde packages up to date.

Debug Horde:

2012-12-11T08:51:44+01:00 ERR: HORDE [imp] Der E-Mail-Server hat einen 
IMAP-Fehler gemeldet. Unrecognized command [pid 7351 on line 390 of 
"/var/www/webmail/imp/lib/Imap.php"]
2012-12-11T08:51:44+01:00 DEBUG: HORDE  1. 
Horde_Core_Ajax_Application->doAction() 
/var/www/webmail/services/ajax.php:56
  2. call_user_func() /usr/share/pear/Horde/Core/Ajax/Application.php:155
  3. IMP_Ajax_Application_Handler_Common->sendMessage()
  4. IMP_Compose->buildAndSendMessage() 
/var/www/webmail/imp/lib/Ajax/Application/Handler/Common.php:536
  5. IMP_Imap->append() /var/www/webmail/imp/lib/Compose.php:928
  6. IMP_Imap->__call() /var/www/webmail/imp/lib/Compose.php:928
  7. Horde_Core_Ajax_Application->doAction() 
/var/www/webmail/services/ajax.php:56
  8. call_user_func() /usr/share/pear/Horde/Core/Ajax/Application.php:155
  9. IMP_Ajax_Application_Handler_Common->sendMessage()
10. IMP_Compose->buildAndSendMessage() 
/var/www/webmail/imp/lib/Ajax/Application/Handler/Common.php:536
11. IMP_Imap->append() /var/www/webmail/imp/lib/Compose.php:928
12. IMP_Imap->__call() /var/www/webmail/imp/lib/Compose.php:928
13. call_user_func_array() /var/www/webmail/imp/lib/Imap.php:388
14. Horde_Imap_Client_Base->append()
15. Horde_Imap_Client_Socket->_append() 
/usr/share/pear/Horde/Imap/Client/Base.php:1803
16. Horde_Imap_Client_Socket->_append() 
/usr/share/pear/Horde/Imap/Client/Socket.php:1595
17. Horde_Imap_Client_Socket->_sendLine() 
/usr/share/pear/Horde/Imap/Client/Socket.php:1557
18. Horde_Imap_Client_Socket->_getLine() 
/usr/share/pear/Horde/Imap/Client/Socket.php:3655

2012-12-11T08:51:44+01:00 DEBUG: HORDE [imp] Nachricht wurde 
erfolgreich versendet, aber nicht in Gesendet gespeichert. [pid 7351 
on line 27 of 
"/usr/share/pear/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]


Mailserver Log:
imapd[3443]: Network Error: Socket error [xxxx.xxxx.xxxx.xxxx:35210] 
xxxxxx: I/O function error

Saved Queries