[horde] Horde still not working...

Michael Christopher Robinson plug_1 at robinson-west.com
Mon Apr 10 18:14:58 UTC 2017


http://www.brighterlamp.com/2012/12/how-to-compile-php-with-imap-suppor
t/

I suspected that php-5.6.30 that I custom compiled did not have imap
support.  Now when I do php -m | grep 'imap' I get imap back.  Horde
is acting the same though.  I get error when communicating with the
server.  That is not a good error message because it doesn't say what
server Horde cannot communicate with.  Could be the database, the imap
server, or something else even.

THe dovecot server is the stock one that comes with CentOS 7.1.3.  It
works with evolution, but not horde webmail...

My conf.php follows:

<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Id: 08fc885cd91fbae2d752e274b554c5f1645129c8 $
$conf['vhosts'] = false;
$conf['debug_level'] = E_ALL & ~E_NOTICE;
$conf['max_exec_time'] = 0;
$conf['compress_pages'] = true;
$conf['secret_key'] = 'nlmlrz31_G1ILQwB4FlL1SE';
$conf['umask'] = 077;
$conf['testdisable'] = false;
$conf['use_ssl'] = 2;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
$conf['urls']['token_lifetime'] = 30;
$conf['urls']['hmac_lifetime'] = 30;
$conf['urls']['pretty'] = false;
$conf['safe_ips'] = array();
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['timeout'] = 0;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['max_time'] = 72000;
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/';$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = 'icecream';
$conf['sql']['hostspec'] = 'condor.w2.robinson-west.pri';
$conf['sql']['protocol'] = 'tcp';
$conf['sql']['database'] = 'horde';
$conf['sql']['charset'] = 'utf-8';
$conf['sql']['splitread'] = false;
$conf['sql']['logqueries'] = true;
$conf['sql']['phptype'] = 'pgsql';
$conf['nosql']['phptype'] = false;
$conf['ldap']['useldap'] = false;
$conf['auth']['admins'] = array('admin');
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['resetpassword'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['list_users'] = 'list';
$conf['auth']['params']['app'] = 'imp';
$conf['auth']['driver'] = 'application';
$conf['auth']['params']['count_bad_logins'] = false;
$conf['auth']['params']['login_block'] = false;
$conf['auth']['params']['login_block_count'] = 5;
$conf['auth']['params']['login_block_time'] = 5;
$conf['signup']['allow'] = false;
$conf['log']['priority'] = 'DEBUG';
$conf['log']['ident'] = 'HORDE';
$conf['log']['name'] = '/var/log/horde/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['params']['format'] = 'default';
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;
$conf['prefs']['maxsize'] = 65535;
$conf['prefs']['params']['driverconfig'] = 'horde';
$conf['prefs']['driver'] = 'Sql';
$conf['alarms']['params']['driverconfig'] = 'horde';
$conf['alarms']['params']['ttl'] = 300;
$conf['alarms']['driver'] = 'Sql';
$conf['group']['params']['driverconfig'] = 'horde';
$conf['group']['driver'] = 'Sql';
$conf['perms']['driverconfig'] = 'horde';
$conf['perms']['driver'] = 'Sql';
$conf['share']['no_sharing'] = false;
$conf['share']['auto_create'] = true;
$conf['share']['world'] = true;
$conf['share']['any_group'] = false;
$conf['share']['hidden'] = false;
$conf['share']['cache'] = false;
$conf['share']['driver'] = 'Sqlng';
$conf['cache']['default_lifetime'] = 86400;
$conf['cache']['params']['sub'] = 0;
$conf['cache']['driver'] = 'File';
$conf['cache']['use_memorycache'] = '';
$conf['cachecssparams']['url_version_param'] = true;
$conf['cachecss'] = false;
$conf['cachejsparams']['url_version_param'] = true;
$conf['cachejs'] = false;
$conf['cachethemes'] = false;
$conf['lock']['params']['driverconfig'] = 'horde';
$conf['lock']['driver'] = 'Sql';
$conf['token']['params']['driverconfig'] = 'horde';
$conf['token']['driver'] = 'Sql';
$conf['sessionhandler']['type'] = 'Builtin';
$conf['sessionhandler']['hashtable'] = false;
$conf['spell']['params']['path'] = '/usr/bin/aspell';
$conf['spell']['driver'] = 'aspell';
$conf['gnupg']['keyserver'] = array('pool.sks-keyservers.net');
$conf['gnupg']['timeout'] = 10;
$conf['nobase64_img'] = false;
$conf['image']['driver'] = 'Imagick';
$conf['exif']['driver'] = 'Bundled';
$conf['mime']['magic_db'] = '/usr/share/magic';
$conf['timezone']['location'] = 'ftp://ftp.iana.org/tz/tzdata-latest.ta
r.gz';
$conf['problems']['email'] = 'webmaster at example.com';
$conf['problems']['maildomain'] = 'example.com';
$conf['problems']['tickets'] = false;
$conf['problems']['attachments'] = true;
$conf['menu']['links']['help'] = 'all';
$conf['menu']['links']['prefs'] = 'authenticated';
$conf['menu']['links']['problem'] = 'all';
$conf['menu']['links']['login'] = 'all';
$conf['menu']['links']['logout'] = 'authenticated';
$conf['portal']['fixed_blocks'] = array();
$conf['accounts']['driver'] = 'null';
$conf['user']['verify_from_addr'] = false;
$conf['user']['select_view'] = true;
$conf['facebook']['enabled'] = false;
$conf['twitter']['enabled'] = false;
$conf['urlshortener'] = false;
$conf['weather']['provider'] = false;
$conf['imap']['server'] = 'mail.robinson-west.com';
$conf['imap']['port'] = 993;
$conf['imap']['secure'] = 'ssl';
$conf['imap']['maildomain'] = 'robinson-west.com';
$conf['imap']['cache_folders'] = true;
$conf['imap']['enabled'] = true;
$conf['imsp']['enabled'] = false;
$conf['kolab']['enabled'] = false;
$conf['hashtable']['driver'] = 'none';
$conf['activesync']['enabled'] = false;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */

[root at web config]# cat backends.local.php 
<?php
$servers['secure-imap'] = array(
    'disabled' => false,
    'name' => 'robinson-west.com',
    'hostspec' => 'mail.robinson-west.com',
    'hordeauth' => full,
    'protocol' => 'imap',
    'port' => 143,
    'secure' => 'tls',
    'maildomain' => 'robinson-west.com',
    'acl' => true,
    'cahe' => false,
);
[root at web config]# 

The following bash script launches configure for PHP-5.6.30:

[admin at web ~]$ cat configphp.bash 
#!/bin/bash

./configure --prefix=/usr                     \
            --sysconfdir=/etc                 \
            --localstatedir=/var              \
            --datadir=/usr/share/php          \
            --mandir=/usr/share/man           \
            --enable-fpm                      \
            --with-fpm-user=apache            \
            --with-fpm-group=apache           \
            --enable-intl                     \
            --with-config-file-path=/etc      \
            --with-zlib                       \
            --enable-bcmath                   \
            --with-bz2                        \
            --enable-calendar                 \
            --enable-dba=shared               \
            --with-gdbm                       \
            --with-gmp                        \
            --enable-ftp                      \
            --with-mysqli=shared              \
            --with-pdo-mysql=shared           \
            --with-pgsql                      \
            --with-pdo-pgsql                  \
            --with-gettext                    \
            --enable-mbstring                 \
            --with-gd                         \
            --with-openssl                    \
            --with-tidy                       \
            --with-ldap                       \
            --with-imap=/usr/local/imap-2007f \
            --with-imap-ssl                   \
            --with-readline
[admin at web ~]$ 

This is most likely a client issue, but it could be a database issue.
Something is either misconfigured or something is still missing.
My current Postgresql database is 9.3.5 slackbuild compiled because
Slackware 14.2 doesn't include postgresql in the stock packages.
Note that I can read email on my local area network using evolution.


More information about the horde mailing list