[Tickets #12970] Re: Problems with S/MIME messages when sent to or received from a BlackBerry 10 device using BES

noreply at bugs.horde.org noreply at bugs.horde.org
Sat Oct 25 22:40:31 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/12970
------------------------------------------------------------------------------
  Ticket             | 12970
  Updated By         | software-horde at interfasys.ch
  Summary            | Problems with S/MIME messages when sent to or received
                     | from a BlackBerry 10 device using BES
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


software-horde at interfasys.ch (2014-10-25 22:40) wrote:

OK, here is what I get when the message is being received by the  
device. Seems like Horde is sending the plain text and the S/MIME parts.

2014-10-26T00:34:00+02:00 DEBUG: Variable information:
array(4) {
   ["protocolversion"]=>
   string(4) "14.1"
   ["truncation"]=>
   bool(false)
   ["bodyprefs"]=>
   array(3) {
     [2]=>
     array(2) {
       ["type"]=>
       string(1) "2"
       ["truncationsize"]=>
       int(1048576)
     }
     [1]=>
     array(2) {
       ["type"]=>
       string(1) "1"
       ["truncationsize"]=>
       int(1048576)
     }
     [4]=>
     array(2) {
       ["type"]=>
       string(1) "4"
       ["truncationsize"]=>
       string(6) "200000"
     }
   }
   ["mimesupport"]=>
   int(0)
}

Backtrace:
1. Horde_Rpc_ActiveSync->getResponse() /var/www/html/webmail/rpc.php:159
2. Horde_ActiveSync->handleRequest()  
/usr/local/php54/lib/php/Horde/Rpc/ActiveSync.php:143
3. Horde_ActiveSync_Request_Base->handle()  
/usr/local/php54/lib/php/Horde/ActiveSync.php:880
4. Horde_ActiveSync_Request_Sync->_handle()  
/usr/local/php54/lib/php/Horde/ActiveSync/Request/Base.php:253
5. Horde_ActiveSync_Connector_Exporter->sendNextChange()  
/usr/local/php54/lib/php/Horde/ActiveSync/Request/Sync.php:613
6. Horde_Core_ActiveSync_Driver->getMessage()  
/usr/local/php54/lib/php/Horde/ActiveSync/Connector/Exporter.php:215
7. Horde_ActiveSync_Imap_Adapter->getMessages()  
/usr/local/php54/lib/php/Horde/Core/ActiveSync/Driver.php:1274
8. Horde_ActiveSync_Imap_Adapter->_buildMailMessage()  
/usr/local/php54/lib/php/Horde/ActiveSync/Imap/Adapter.php:535
9. Horde::debug()  
/usr/local/php54/lib/php/Horde/ActiveSync/Imap/Adapter.php:988

2014-10-26T00:34:01+02:00 DEBUG: Variable information:
array(4) {
   ["protocolversion"]=>
   string(4) "14.1"
   ["truncation"]=>
   int(4096)
   ["bodyprefs"]=>
   array(1) {
     [1]=>
     array(2) {
       ["type"]=>
       string(1) "1"
       ["truncationsize"]=>
       string(3) "500"
     }
   }
   ["mimesupport"]=>
   string(1) "0"
}

Backtrace:
1. Horde_Rpc_ActiveSync->getResponse() /var/www/html/webmail/rpc.php:159
2. Horde_ActiveSync->handleRequest()  
/usr/local/php54/lib/php/Horde/Rpc/ActiveSync.php:143
3. Horde_ActiveSync_Request_Base->handle()  
/usr/local/php54/lib/php/Horde/ActiveSync.php:880
4. Horde_ActiveSync_Request_Sync->_handle()  
/usr/local/php54/lib/php/Horde/ActiveSync/Request/Base.php:253
5. Horde_ActiveSync_Connector_Exporter->sendNextChange()  
/usr/local/php54/lib/php/Horde/ActiveSync/Request/Sync.php:613
6. Horde_Core_ActiveSync_Driver->getMessage()  
/usr/local/php54/lib/php/Horde/ActiveSync/Connector/Exporter.php:215
7. Horde_ActiveSync_Imap_Adapter->getMessages()  
/usr/local/php54/lib/php/Horde/Core/ActiveSync/Driver.php:1274
8. Horde_ActiveSync_Imap_Adapter->_buildMailMessage()  
/usr/local/php54/lib/php/Horde/ActiveSync/Imap/Adapter.php:535
9. Horde::debug()  
/usr/local/php54/lib/php/Horde/ActiveSync/Imap/Adapter.php:988

2014-10-26T00:34:02+02:00 DEBUG: Variable information:
array(4) {
   ["protocolversion"]=>
   string(4) "14.1"
   ["truncation"]=>
   bool(false)
   ["bodyprefs"]=>
   array(1) {
     [4]=>
     &array(2) {
       ["type"]=>
       string(1) "4"
       ["truncationsize"]=>
       int(1048576)
     }
   }
   ["mimesupport"]=>
   string(1) "2"
}

Backtrace:
1. Horde_Rpc_ActiveSync->getResponse() /var/www/html/webmail/rpc.php:159
2. Horde_ActiveSync->handleRequest()  
/usr/local/php54/lib/php/Horde/Rpc/ActiveSync.php:143
3. Horde_ActiveSync_Request_Base->handle()  
/usr/local/php54/lib/php/Horde/ActiveSync.php:880
4. Horde_ActiveSync_Request_Sync->_handle()  
/usr/local/php54/lib/php/Horde/ActiveSync/Request/Base.php:253
5. Horde_ActiveSync_Driver_Base->fetch()  
/usr/local/php54/lib/php/Horde/ActiveSync/Request/Sync.php:559
6. Horde_Core_ActiveSync_Driver->getMessage()  
/usr/local/php54/lib/php/Horde/ActiveSync/Driver/Base.php:254
7. Horde_ActiveSync_Imap_Adapter->getMessages()  
/usr/local/php54/lib/php/Horde/Core/ActiveSync/Driver.php:1274
8. Horde_ActiveSync_Imap_Adapter->_buildMailMessage()  
/usr/local/php54/lib/php/Horde/ActiveSync/Imap/Adapter.php:535
9. Horde::debug()  
/usr/local/php54/lib/php/Horde/ActiveSync/Imap/Adapter.php:988

> For the record, simulator does not support enterprise features.
>
> So, to continue debugging try adding:
>
> Horde::debug($options);
> Horde::debug($imap_message->isSigned());
> Horde::debug($imap_message->isEncrypted());
>
> in Horde_ActiveSync_Imap_Adapter::_buildMailMessage() right before  
> the if statement on line 988. The output will be put into a file  
> name horde_debug.txt in your system's tmp directory.






More information about the bugs mailing list