2.1 to 2.2-rc-1 upgrade C): horde login impossible

Johannes Graumann johannes_graumann at web.de
Tue Feb 12 12:09:20 CET 2008


Gunnar Wrobel wrote:

> Anyhow it looks like your Horde is not contacting the IMAP server at
> all then. This should be a misconfiguration and is somewhat strange
> because the configuration is written automatically. Maybe there is a
> problem with your DNS system?
This got me onto something ... there was no relevant configuration
in /kolab/var/kolab/www/horde/config/conf.php whatsoever. I had not
appreciated from the 1st.readme that this needed manual configuration.
A major break was to change the imap-port so that it now fits the services I
allow kolab to provide ;0)
Now I actually seem to get an imap-error when trying to log in via horde:


Feb 12 12:02:20 morannon <debug> imaps[25051]: accepted connection
Feb 12 12:03:20 morannon <debug> imaps[25051]: EOF in SSL_accept() -> fail
Feb 12 12:03:20 morannon <notice> imaps[25051]: imaps TLS negotiation
failed: morannon.homelinux.org [127.0.1.1]
Feb 12 12:03:20 morannon <error> imaps[25051]: Fatal error:
tls_start_servertls() failed

How to fix this? Can you have a quick look whether the conf.php below now is
acceptable?

Thanks, Joh

<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: horde/config/conf.xml,v 1.206 2007/11/19 14:33:17 jan Exp $
$conf['vhosts'] = false;
$conf['debug_level'] = E_ALL;
$conf['max_exec_time'] = 0;
$conf['compress_pages'] = true;
$conf['umask'] = 077;
$conf['use_ssl'] = 2;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
$conf['server']['port'] = $_SERVER['SERVER_PORT'];
$conf['safe_ips'] = array();
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = false;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 3600;
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/horde';
$conf['sql'] = null;
$conf['auth']['admins'] = array('manager');
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['params']['login_block'] = true;
$conf['auth']['params']['login_block_count'] = 3;
$conf['auth']['params']['login_block_time'] = 5;
$conf['auth']['driver'] = 'kolab';
$conf['signup']['allow'] = false;
/*$conf['log']['priority'] = PEAR_LOG_NOTICE;*/
$conf['log']['priority'] = PEAR_LOG_DEBUG;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;
$conf['prefs']['driver'] = 'kolab';
$conf['alarms']['driver'] = false;
$conf['datatree']['driver'] = 'null';
$conf['group']['driver'] = 'datatree';
$conf['group']['cache'] = false;
$conf['share']['no_sharing'] = false;
$conf['share']['cache'] = false;
$conf['share']['driver'] = 'kolab';
$conf['cache']['default_lifetime'] = 1800;
$conf['cache']['params']['dir'] = Horde::getTempDir();
$conf['cache']['params']['sub'] = 0;
$conf['cache']['driver'] = 'file';
$conf['token']['driver'] = 'none';
$conf['mailer']['params']['auth'] = false;
$conf['mailer']['type'] = 'smtp';
$conf['mailformat']['brokenrfc2231'] = false;
$conf['tmpdir'] = dirname(__FILE__) . '/../../../tmp/horde';
$conf['vfs']['params']['vfsroot'] =
dirname(__FILE__) . '/../../../tmp/horde';
$conf['vfs']['type'] = 'file';
$conf['sessionhandler']['type'] = 'none';
$conf['image']['convert'] = '/usr/bin/convert';
$conf['mime']['magic_db'] = '/etc/mime.types';
$conf['problems']['email'] = 'webmaster at morannon.homelinux.org';
$conf['problems']['maildomain'] = 'morannon.homelinux.org';
$conf['problems']['tickets'] = false;
$conf['menu']['apps'] = array();
$conf['menu']['always'] = false;
$conf['menu']['links']['help'] = 'all';
$conf['menu']['links']['help_about'] = true;
$conf['menu']['links']['options'] = 'authenticated';
$conf['menu']['links']['problem'] = 'all';
$conf['menu']['links']['login'] = 'all';
$conf['menu']['links']['logout'] = 'authenticated';
$conf['hooks']['permsdenied'] = false;
$conf['hooks']['username'] = false;
$conf['hooks']['preauthenticate'] = false;
$conf['hooks']['postauthenticate'] = false;
$conf['hooks']['authldap'] = false;
$conf['hooks']['groupldap'] = false;
$conf['portal']['fixed_blocks'] = array();
$conf['accounts']['driver'] = 'null';
$conf['user']['verify_from_addr'] = false;
$conf['imsp']['enabled'] = false;
$conf['kolab']['ldap']['server'] = 'localhost';
$conf['kolab']['ldap']['port'] = 389;
$conf['kolab']['ldap']['basedn'] = 'dc=morannon,dc=homelinux,dc=org';
$conf['kolab']['ldap']['phpdn']
= 'cn=nobody,cn=internal,dc=morannon,dc=homelinux,dc=org';
$conf['kolab']['ldap']['phppw']
= '<NOBODY_PASSWD_FROM_/kolab/etc/kolab/kolab.conf';
$conf['kolab']['imap']['server'] = 'localhost';
/*$conf['kolab']['imap']['port'] = 143;*/
$conf['kolab']['imap']['port'] = 993;
$conf['kolab']['imap']['sieveport'] = 2000;
$conf['kolab']['imap']['maildomain'] = 'morannon.homelinux.org';
$conf['kolab']['imap']['virtdomains'] = true;
$conf['kolab']['smtp']['server'] = 'localhost';
$conf['kolab']['smtp']['port'] = 25;
$conf['kolab']['misc']['multidomain'] = false;
$conf['kolab']['enabled'] = true;
$conf['memcache']['enabled'] = false;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
if (file_exists(dirname(__FILE__) . '/kolab.php')) {
  require_once(dirname(__FILE__) . '/kolab.php');
}




More information about the users mailing list