Serverlist IMP 3.0

Rickard Svorén rickard@xpress.se
Mon, 11 Mar 2002 09:30:49 +0100


Hello

Have question about serverlist, i want to allow users to choose
mailserver from the list where i define which servers that should
be availible.

If i use :
$conf['server']['server_list'] = true;

Then only foo2 will be availible and foo is not on the list and therfore
can´t be choosen.

This is the config:


horde/imp/config/servers.php :

$servers['pop'] = array(
     'name' => 'foo',
     'server' => 'example1.foo.com',
     'protocol' => 'pop3',
     'port' => 110,
     'folders' => '',
     'namespace' => '',
     'maildomain' => 'foo.com',
     'realm' => 'foo.com',
     'preferred' => ''
);


$servers['pop'] = array(
     'name' => 'foo2',
     'server' => 'example2.foo.com',
     'protocol' => 'pop3',
     'port' => 110,
     'folders' => '',
     'namespace' => '',
     'maildomain' => 'foo2.com',
     'realm' => 'foo2.com,
     'preferred' => ''
);


horde/imp/config/conf.php:

// Should we display a list of servers (defined in
// config/servers.php) for users to choose from?
$conf['server']['server_list'] = true;

// If you enable the server list, and enable
// $conf['server']['server_list_hidden'] then the "preferred"
// mechanism by which the server list determines what server is
// selected by default will be used to determine which servers.php
// entry to use.
$conf['server']['server_list_hidden'] = false;


-rickard