[gollem] Selecting server based on IMP server

Zoltan Arpadffy zoli at polarhome.com
Thu Oct 13 12:35:49 PDT 2005


Hi,

I was looking after such solution about a month ago, but I haven't got any
constructive answer but "this should be developed".

Thanks to Michael M Slusarz idea it does work perfect by using IMP session
variable:

No more development is needed but in golem configuration define
$_SESSION['imp']['server'] as hostspec like: 
 
$backends['auto'] = array(
   'name' => 'Automatic',
   'driver' => 'ftp',
   'preferred' => '',
   'hordeauth' => full,
   'params' => array(
       'hostspec' => $_SESSION['imp']['server'],
   ),
   'root' => '/',
   'home' => '',
   'createhome' => 'false',
   // 'filter' => '^regex$',
   'attributes' => array('type', 'name', 'download', 'modified', 'size',
'permission', 'owner')
); 

This works perfect when IMP does the horde authentication against one of
your IMAP servers.

Regards, 
Z




More information about the gollem mailing list