[imp] How do I set the IMAP server when the server list is hidden?
Pro Green European
pro_green_european at yahoo.com
Mon Oct 24 05:54:33 UTC 2011
Quoting Michael M Slusarz <slusarz at horde.org>:
> It is now 'imp_server_key'. And you need to pass the name of the
> backend you want to use (array key in backends.php), not a hostname.
Thank you for your reply.
However, when I set this:
$conf['server']['server_list'] = 'hidden';
then I cannot connect to any secondary servers I've specified in IMP's backends.php file:
<?php
$servers['srv1.domain.tld'] = array(
'disabled' => false,
'name' => 'srv1.domain.tld',
'hostspec' => 'srv1.domain.tld',
'hordeauth' => false,
'protocol' => 'imap',
'port' => 143,
'secure' => 'tls',
'maildomain' => 'domain.tld',
'smtphost' => 'localhost',
'smtpport' => 25,
'cache' => false,
'realm' => 'srv1.domain.tld',
'preferred' => 'srv1.domain.tld',
);
$servers['srv2.domain.tld'] = array(
'disabled' => false,
'name' => 'srv2.domain.tld',
'hostspec' => 'srv2.domain.tld',
'hordeauth' => false,
'protocol' => 'imap',
'port' => 143,
'secure' => 'tls',
'maildomain' => 'domain.tld',
'smtphost' => 'localhost',
'smtpport' => 25,
'cache' => false,
'realm' => 'srv2.domain.tld',
'preferred' => 'srv2.domain.tld',
);
The user is still trying to connect to srv1.domain.tld even if I say it shoud use srv2:
https://webmail.domain.tld/login.php?imp_server_key=srv2.domain.tld
Regards,
/PGE
More information about the imp
mailing list