[horde] new ionstallation - cannot login

info info at ray.co.za
Fri Jul 25 04:04:45 PDT 2003


hi

problem: cannot login to horde or imp...
setup: 1 server, redhat 9, qmail (pop3 and smtp), MySQL backend, 
no imap.
tested qmail,pop3,smtp: telnet'ted into the ports successfuly.
horde test screen: all green yes'ses... except for pgsql.
admin record: insert into horde_users values('admin',md5('mypassword'));

horde log file remains empty, 
comms with MySQL works because the sessions are successfully written 
to the MySQL table.

## horde/config/horde.php
$conf['debug_level'] = E_ALL;
$conf['max_exec_time'] = 0;
$conf['session_name'] = 'Horde';
$conf['cache_limiter'] = 'nocache';
$conf['session_timeout'] = 0;
$conf['use_ssl'] = 2;
$conf['compress_pages'] = true;
$conf['umask'] = 077;
$conf['tmpdir'] = null;

$conf['auth']['driver'] = 'sql';

$conf['auth']['params'] = array();
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'horde';
$conf['auth']['params']['password'] = 'mypassword';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_users';

$conf['log']['params'] = array();
$conf['log']['enabled'] = true;
$conf['log']['type'] = 'file';
$conf['log']['name'] = '/var/log/horde.log';
$conf['log']['priority'] = LOG_DEBUG;
$conf['log']['ident'] = 'HORDE';

$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'] = 'mypassword';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';

$conf['cache']['driver'] = 'none';
$conf['cache']['params'] = array();

$conf['mailer']['type'] = 'smtp';
$conf['mailer']['params'] = array();

$conf['vfs']['type'] = 'sql';
$conf['vfs']['params']['phptype'] = 'mysql';
$conf['vfs']['params']['hostspec'] = 'localhost';
$conf['vfs']['params']['username'] = 'horde';
$conf['vfs']['params']['password'] = 'mypassword';
$conf['vfs']['params']['database'] = 'horde';
$conf['vfs']['params']['table'] = 'horde_vfs';

$conf['sessionhandler']['type'] = 'mysql';
$conf['sessionhandler']['params'] = array();
$conf['sessionhandler']['params']['phptype'] = 'mysql';
$conf['sessionhandler']['params']['hostspec'] = 'localhost';
$conf['sessionhandler']['params']['username'] = 'horde';
$conf['sessionhandler']['params']['password'] = 'mypassword';
$conf['sessionhandler']['params']['database'] = 'horde';
$conf['vfs']['params']['table'] = 'horde_sessionhandler';

$conf['problems']['enabled'] = false;
$conf['problems']['email'] = 'webmaster at example.com';
$conf['user']['online_help'] = true;
$conf['css']['cached'] = true;
$conf['menu']['floating_bar'] = false;

## horde/config/registry.php
$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';

$this->registry['mail']['compose'] = 'imp';
$this->registry['mail']['composePopup'] = 'imp';

$this->registry['events']['show'] = 'kronolith';

$this->registry['memos']['search'] = 'mnemo';
$this->registry['memos']['list'] = 'mnemo';
$this->registry['memos']['show'] = 'mnemo';
$this->registry['memos']['add'] = 'mnemo';

$this->applications['horde'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => '/horde',
    'initial_page' => 'login.php',
    'icon' => '/horde/graphics/home.gif',
    'name' => _("Horde"),
    'allow_guests' => true,
    'status' => 'active',
    'templates' => dirname(__FILE__) . '/../templates',
    'cookie_domain' => $_SERVER['SERVER_NAME'],
    'cookie_path' => '/horde',
    'server_name' => $_SERVER['SERVER_NAME'],
    'server_port' => $_SERVER['SERVER_PORT']
);

$this->applications['logout'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => $this->applications['horde']['webroot'],
    'initial_page' => 'login.php?reason=logout',
    'icon' => $this->applications['horde']['webroot'] . '/graphics/logout.
gif',
    'name' => _("Logout"),
    'allow_guests' => false,
    'status' => 'notoolbar'
);

$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,
    'status' => 'active'
);

$this->applications['kronolith'] = array(
    'fileroot' => dirname(__FILE__) . '/../kronolith',
    'webroot' => $this->applications['horde']['webroot'] . '/kronolith',
    'icon' => $this->applications['horde']['webroot'] . '/kronolith/graphics/kronolith.
gif',
    'name' => _("Calendar"),
    'allow_guests' => false,
    'status' => 'active'
);

$this->applications['mnemo'] = array(
    'fileroot' => dirname(__FILE__) . '/../mnemo',
    'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
    'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.
gif',
    'name' => _("Memos"),
    'allow_guests' => false,
    'status' => 'active'
);

## horde/imp/conf.php
$conf['utils']['spellchecker'] = '';
$conf['menu']['apps'] = array();
$conf['user']['allow_folders'] = true;
$conf['user']['allow_view_source'] = true;
$conf['user']['allow_resume_all'] = false;
$conf['user']['allow_resume_all_in_drafts'] = false;
$conf['user']['alternate_login'] = false;
$conf['user']['redirect_on_logout'] = false;
$conf['user']['select_sentmail_folder'] = false;

$conf['server']['server_list'] = 'none';
$conf['server']['change_server'] = false;
$conf['server']['change_port'] = false;
$conf['server']['change_protocol'] = false;
$conf['server']['change_folders'] = false;
$conf['server']['show_dotfiles'] = false;
$conf['server']['hierarchies'] = array();

$conf['mailbox']['deleted_flag'] = Horde::img('deleted.gif', 'alt="' 
 _("Deleted") . '"');
$conf['mailbox']['deleted_style'] = 'strike';
$conf['mailbox']['unseen_flag'] = Horde::img('unseen.gif', 'alt="' 
 _("Unread") . '"');
$conf['mailbox']['unseen_style'] = 'b';
$conf['mailbox']['answered_flag'] = Horde::img('answered.gif', 'alt="' 
 _("Answered") . '"');
$conf['mailbox']['answered_style'] = '';
$conf['mailbox']['important_flag'] = Horde::img('important.gif', 
'alt="' . _("Important") . '"');
$conf['mailbox']['important_style'] = 'i';
$conf['mailbox']['draft_flag'] = Horde::img('draft.gif', 'alt="' 
 _("Draft") . '"');
$conf['mailbox']['draft_style'] = '';
$conf['mailbox']['personal_flag'] = Horde::img('personal.gif', 'alt="' 
 _("Personal") . '"');
$conf['mailbox']['date_format'] = '%x';
$conf['mailbox']['time_format'] = '%X';
$conf['mailbox']['max_from_chars'] = 40;
$conf['mailbox']['max_subj_chars'] = 50;
$conf['mailbox']['from_link'] = 'message';
$conf['mailbox']['show_attachments'] = false;

$conf['msg']['prepend_header'] = true;
$conf['msg']['append_trailer'] = true;
$conf['msg']['filtering']['words'] = './config/filter.txt';
$conf['msg']['filtering']['replacement'] = '****';
$conf['spam']['reporting'] = false;

$conf['spam']['email'] = 'postmaster@' . $GLOBALS['registry']->getParam('server_name');


$conf['compose']['use_vfs'] = true;
$conf['compose']['allow_cc'] = true;
$conf['compose']['allow_bcc'] = true;
$conf['compose']['date_format'] = '%c';
$conf['compose']['allow_receipts'] = true;
$conf['compose']['special_characters'] = true;

## horde/imp/servers.php
$servers['_prompt'] = array(
    'name' => _("Choose a mail server:")
);

$servers['pop'] = array(
    'name' => 'POP3 Server',
    'server' => 'mail.raylink.co.za',
    'protocol' => 'pop3',
    'port' => 110,
    'folders' => '',
    'namespace' => '',
    'maildomain' => 'raylink.co.za',
    'realm' => 'raylink.co.za',
    'preferred' => ''
);



-------
cheers
ray




===================================================================
          Brought to you by: http://www.read-it.co.za/
===================================================================





More information about the horde mailing list