[Tickets #13911] IMP error 500 with special To: header

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Mar 12 12:33:41 UTC 2015


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/13911
------------------------------------------------------------------------------
  Ticket           | 13911
  Erstellt Von     | christian at hailer.eu
  Zusammenfassung  | IMP error 500 with special To: header
  Warteschlange    | IMP
  Version          | 6.2.7
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


christian at hailer.eu (2015-03-12 12:33) hat geschrieben:

Hello,

when sending an email with Outlook it "autocompletes" known  
receipients, so if you start typing a known email address it completes  
it like that:

Hailer, Christian (christian at hailer.eu)

The email To: header contains the following afterwards:

To: "'Hailer, Christian (christian at hailer.eu)'" <christian at hailer.eu>

Somehow, IMP gets an error 500 when trying to open the email, and  
ActiveSync isn't working either with error 500:

2015-03-12T13:21:06+01:00 EMERG: HORDE [imp] Zeitformat (-11306698473)  
nicht erkannt [pid 18651 on line 369 of  
"/usr/share/pear/Horde/Date.php"]

2015-03-12T13:19:46+01:00 ERR: HORDE Returning HTTP 500 while handling  
Sync command. [pid 7311 on line 158 of "/var/www/horde/rpc.php"]
2015-03-12T13:19:46+01:00 ERR: HORDE Error in communicating with  
ActiveSync server: Failed to parse time string (-11306698473) [pid  
7311 on line 162 of "/usr/share/pear/Horde/Rpc/ActiveSync.php"]
2015-03-12T13:19:46+01:00 ERR: HORDE #0  
/usr/share/pear/Horde/Compress/Tnef.php(659):  
Horde_Date->__construct('-11306698473', 'UTC')
#1 /usr/share/pear/Horde/Compress/Tnef.php(282):  
Horde_Compress_Tnef->_decodeMessageProperty('\x01  
\x80\x03\x00\x0E\x00\x00\x00\xDF\x07\x03\x00\f\x00...')
#2 /usr/share/pear/Horde/ActiveSync/Imap/Message.php(328):  
Horde_Compress_Tnef->decompress('x\x9F>"W\x1C\x01\x06\x90\x08\x00\x04\x00\x00\x00...')
#3 /usr/share/pear/Horde/ActiveSync/Imap/Message.php(377):  
Horde_ActiveSync_Imap_Message->_decodeTnefData(Object(Horde_Mime_Part))
#4 /usr/share/pear/Horde/ActiveSync/Imap/Adapter.php(1125):  
Horde_ActiveSync_Imap_Message->getAttachmentsMimeParts()
#5 /usr/share/pear/Horde/ActiveSync/Imap/Adapter.php(640):  
Horde_ActiveSync_Imap_Adapter->_buildMailMessage(Object(Horde_Imap_Client_Mailbox), Object(Horde_Imap_Client_Data_Fetch),  
Array)
#6 /usr/share/pear/Horde/Core/ActiveSync/Driver.php(1310):  
Horde_ActiveSync_Imap_Adapter->getMessages('Trash', Array, Array)
#7 /usr/share/pear/Horde/ActiveSync/Connector/Exporter.php(215):  
Horde_Core_ActiveSync_Driver->getMessage('Trash', 7017, Array)
#8 /usr/share/pear/Horde/ActiveSync/Request/Sync.php(494):  
Horde_ActiveSync_Connector_Exporter->sendNextChange()
#9 /usr/share/pear/Horde/ActiveSync/Request/Base.php(253):  
Horde_ActiveSync_Request_Sync->_handle()
#10 /usr/share/pear/Horde/ActiveSync.php(882):  
Horde_ActiveSync_Request_Base->handle()
#11 /usr/share/pear/Horde/Rpc/ActiveSync.php(143):  
Horde_ActiveSync->handleRequest('Sync', '78529DB5D66A45C...')
#12 /var/www/horde/rpc.php(158): Horde_Rpc_ActiveSync->getResponse(NULL)
#13 {main} [pid 7311 on line 162 of  
"/usr/share/pear/Horde/Rpc/ActiveSync.php"]


Maybe the problem is the " followed by a ' in the header? If I send  
the email explicitly to christian at hailer.eu without autocompletion it  
works fine, the To: header looks like htis then:

To: "christian at hailer.eu" <christian at hailer.eu>

I attached the raw message for you to try it yourself.

Regards, Christian





christian at hailer.eu (2015-03-12 12:33) hat hochgeladen: email.txt

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=email.txt&ticket=13911&fn=%2Femail.txt





More information about the bugs mailing list