Problem setting up horde on centos 6.5

vijai

Verified User
Joined
Jul 22, 2013
Messages
24
Hello,
I installed horde groupware 5.2.2 with webmail. I have set it up to smtp instead of sendmail. I can login successfully with any account. But while sending mail, it says "server unexpectedly closed the connection" and in exim mail log i get
Code:
2014-10-19 10:41:30 H=localhost (server.orpheusdroid.com) [::1] incomplete transaction (RSET) from <[email protected]> for [email protected]

Also I see all mails in inbox but the fields are "unknown". I was using roundcube before.

I have compiled php with IMAP also. But it did not fix the error. Can anybody help me out to make horde work?

Regards,
Vijai
 
Just add disable_ipv6=true in your /etc/exim.conf file and restart exim service :) That should fix the problem for you.
 
Last edited:
The syntax seems to be wrong. Exim doesnt start after I add that and the log clearly says
Code:
2014-10-19 12:26:15 Exim configuration error in line 866 of /etc/exim.conf:
  option "disable_ipv6" unknown
2014-10-19 12:26:24 Exim configuration error in line 866 of /etc/exim.conf:
  option "disable_ipv6" unknown
2014-10-19 12:26:27 Exim configuration error in line 866 of /etc/exim.conf:
  option "disable_ipv6" unknown
 
I updated my post, please try "true" instead of "yes" :)
 
Thank you. Its fixed with ipv6_disable='true'. Now When I try to send mail I get
Code:
Error connecting to SMTP server
:/
 
Roundcube seems to send mails fine with ipv6. here is the log
Code:
2014-10-19 13:06:47 1XfoJz-0000pj-Bf <= [email protected] H=localhost (orpheusdroid.com) [::1] P=esmtpa A=login:[email protected] S=583 [email protected] T="test" from <[email protected]> for [email protected]
2014-10-19 13:06:49 1XfoJz-0000pj-Bf => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=604 H=gmail-smtp-in.l.google.com [2a00:1450:400c:c07::1b] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 C="250 2.0.0 OK 1413716809 li3si6849517wjc.152 - gsmtp"
2014-10-19 13:06:49 1XfoJz-0000pj-Bf Completed
 
But your server uses IPv4, am I right? That way I'd recommend removing "localhost localhost.localdomain" from ::1 line in /etc/hosts file (just don't remove them from 127.0.0.1).
 
I have both ipv4 and ipv6 assigned. And my roundcube successfully sends mail using ipv6 and the mail is delivered too. So I doubt only my horde config.
 
Do you have "$conf['mailer']['params']['auth']" set in Horde configuration? I re-checked the horde error message in your first post, it shouldn't show "from <[email protected]>" with SMTP enabled.
 
this is my config file:
Code:
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Id: snipped$
$conf['vhosts'] = true;
$conf['debug_level'] = E_ALL & ~E_NOTICE;
$conf['max_exec_time'] = 0;
$conf['compress_pages'] = true;
$conf['secret_key'] = 'snipped';
$conf['umask'] = 077;
$conf['testdisable'] = true;
$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'] = 'snipped';
$conf['sql']['password'] = 'snipped';
$conf['sql']['socket'] = '/var/lib/mysql/mysql.sock';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['database'] = 'snipped';
$conf['sql']['charset'] = 'utf-8';
$conf['sql']['ssl'] = true;
$conf['sql']['splitread'] = false;
$conf['sql']['phptype'] = 'mysql';
$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'] = 'ERR';
$conf['log']['ident'] = 'HORDE';
$conf['log']['name'] = LOG_USER;
$conf['log']['type'] = 'syslog';
$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']['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['history']['params']['driverconfig'] = 'horde';
$conf['history']['driver'] = 'Sql';
$conf['davstorage']['params']['driverconfig'] = 'horde';
$conf['davstorage']['driver'] = 'Sql';
$conf['mailer']['params']['host'] = 'localhost';
$conf['mailer']['params']['port'] = 587;
$conf['mailer']['params']['localhost'] = 'localhost';
$conf['mailer']['params']['username_auth'] = false;
$conf['mailer']['params']['password_auth'] = false;
$conf['mailer']['params']['auth'] = true;
$conf['mailer']['params']['lmtp'] = false;
$conf['mailer']['type'] = 'smtp';
$conf['vfs']['params']['driverconfig'] = 'horde';
$conf['vfs']['type'] = 'Sql';
$conf['sessionhandler']['type'] = 'Builtin';
$conf['sessionhandler']['hashtable'] = false;
$conf['spell']['driver'] = '';
$conf['gnupg']['keyserver'] = array('pool.sks-keyservers.net');
$conf['gnupg']['timeout'] = 10;
$conf['nobase64_img'] = false;
$conf['image']['driver'] = false;
$conf['exif']['driver'] = 'Bundled';
$conf['timezone']['location'] = 'ftp://ftp.iana.org/tz/tzdata-latest.tar.gz';
$conf['problems']['email'] = '[email protected]';
$conf['problems']['maildomain'] = 'example.com';
$conf['problems']['tickets'] = false;
$conf['problems']['attachments'] = false;
$conf['menu']['links']['help'] = 'authenticated';
$conf['menu']['links']['prefs'] = 'authenticated';
$conf['menu']['links']['problem'] = 'authenticated';
$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'] = 'localhost';
$conf['imap']['port'] = 143;
$conf['imap']['secure'] = 'none';
$conf['imap']['maildomain'] = 'orpheusdroid.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. */
 
Back
Top