Re: Selecting server based on IMP server

"Zoltan Arpadffy" <[email protected]>
Newsgroups gmane.comp.horde.gollem
Organization polarhome.com - gateway to freedom
Message-ID <[email protected]>
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


-- 
Gollem mailing list - Join the hunt: http://horde.org/bounties/#gollem
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.