[imp] Problem of imp/config/servers.php

EdwardSPL@ita.org.mo EdwardSPL@ita.org.mo
Fri, 16 Aug 2002 18:56:00 +0800


Dear ALL,

I have just reinstall Horde 2.1 and IMP 3.1 under RedHat 6.x system...(
Sendmail system )
But I can't login with a valid username and passwd under IMP 3.1
again...

I think that I can't connect to the mail server :
My Mail Server is server.mydomain.com
So, is here any mistake about horde.php and servers.php ?

horde.php :
$conf['debug_level'] = E_ALL;
$conf['max_exec_time'] = 0;
$conf['session_name'] = 'Horde';
$conf['use_ssl'] = 2;
$conf['compress_pages'] = false;
$conf['umask'] = 077;
$conf['tmpdir'] = null;
$conf['auth']['driver'] = '';
$conf['auth']['params'] = array();
$conf['log']['enabled'] = true;
$conf['log']['type'] = 'file';
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['priority'] = LOG_NOTICE;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = 'xxxxxx';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';
$conf['cache']['driver'] = 'none';
$conf['cache']['params'] = array();
$conf['mailer']['type'] = 'sendmail';
$conf['mailer']['params'] = array();
$conf['problems']['enabled'] = false;
$conf['problems']['email'] = 'postmaster@example.com';
$conf['user']['online_help'] = true;
$conf['css']['cached'] = true;
$conf['menu']['images'] = true;
$conf['menu']['floating_bar'] = false;

servers.php :
$servers['_prompt'] = array(
    'name' => 'Choose a mail server:'
);
$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'server.mydomain.com',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => 'mail/',
    'namespace' => '',
    'maildomain' => 'mydomain.com',
    'smtphost' => 'server.mydomain.com',
    'realm' => 'domain.com',
    'preferred' => ''
);
$servers['pop'] = array(
    'name' => 'POP3 Server',
    'server' => 'server.mydomain.com',
    'protocol' => 'pop3',
    'port' => 110,
    'folders' => '',
    'namespace' => '',
    'maildomain' => 'mydomain.com',
    'realm' => 'mydomain.com',
    'preferred' => ''
);

horde/config/registry.php:
$this->applications['horde'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => '/horde',
    'initial_page' => 'login.php',
    'icon' => '/horde/graphics/home.gif',
    'name' => _("Horde"),
    'allow_guests' => true,
    'show' => true,
    'templates' => dirname(__FILE__) . '/../templates',
    'cookie_domain' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
    'cookie_path' => '/horde',
    'server_name' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
    'server_port' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_PORT']
);
$this->applications['imp'] = array(
    'fileroot' => dirname(__FILE__) . '/../imp',
    'webroot' => $this->applications['horde']['webroot'] . '/imp',
    'icon' => $this->applications['horde']['webroot'] .
'/imp/graphics/imp.gif',
    'name' => _("Mail"),
    'allow_guests' => false,
    'show' => true
);

Thank for your help !

Edward.