[imp] remote mail server sieve unable to authentificate

soeren at mindorf-it.de soeren at mindorf-it.de
Tue Oct 20 10:38:42 UTC 2015


Hi all,

I tried with no success. I did not have any debug logfile.

Here are my configuration again with debug:

imp/config/hooks.php:

<?php
/**
  * IMP Hooks configuration file.
  *
  * For more information please see the hooks.php.dist file.
  */

class IMP_Hooks
{
     /**
      * PREFERENCE INIT: Set preference values on login.
      *
      * See horde/config/hooks.php.dist for more information.
      */
     public function prefs_init($pref, $value, $username, $scope_ob)
     {
         switch ($pref) {
         case 'add_source':
             // Dynamically set the add_source preference.
             return is_null($username)
                 ? $value
                 : $GLOBALS['registry']->call('contacts/getDefaultShare');


         case 'search_fields':
         case 'search_sources':
             // Dynamically set the search_fields/search_sources preferences.
             if (!is_null($username)) {
                 $sources = $GLOBALS['registry']->call('contacts/sources');

                 if ($pref == 'search_fields') {
                     $out = array();
                     foreach (array_keys($sources) as $source) {
                         $out[$source] =  
array_keys($GLOBALS['registry']->call('contacts/fields',  
array($source)));
                     }
                 } else {
                     $out = array_keys($sources);
                 }

                 return json_encode($out);
             }

             return $value;
         }
     }
}

ingo/config/hooks.php:

<?php
class Ingo_Hooks
{
         public function transport_auth($driver)
         {
                 switch ($driver) {
                 case ’timsieved’:
//                $ob = $GLOBALS[’registry’]->call(’mail/imapOb’);
//                return array(
//                        ’euser’ => $ob->getParam(’username’),
//                        ’password’ => $ob->getParam(’password’),
//                        ’username’ => $ob->getParam(’username’)
//                );
             $full_user = $GLOBALS['registry']->getAuth('original');
             Horde::debug($GLOBALS['registry']->getAuth());
             return array(
                 'euser' => $full_user,
                 'username' => $full_user
             );

                 }
//              return true;
         }
}

My systems tmp Folder is /tmp but there is no horde_debug.txt.

Kind regards,
Soeren



More information about the imp mailing list