[horde] Trouble connecting to server from imp...
Maurício José T. Tecles
mtecles at biof.ufrj.br
Wed Mar 22 12:42:21 UTC 2017
Citando Michael Christopher Robinson <plug_1 at robinson-west.com>:
> I can connect to dovecot with tls from the test.php page no problem.
>
> Dovecot is running on mail.robinson-west.com which is 192.168.5.3 in
> my network. The internal address for web.robinson-west.com is
> 192.168.5.1.
>
> The postgresql backend must be working, I can log in to the framework
> no problem.
>
> User admin is not authorized for Mail (Host: eagle.robinson-west.com).
>
> The above is problematic.
>
> [root at web robinson-west.com]# apachectl -v
> Server version: Apache/2.4.25 (Unix)
> Server built: Mar 8 2017 20:22:26
> [root at web robinson-west.com]#
>
> [root at web robinson-west.com]# php -v
> PHP 5.6.30 (cli) (built: Mar 11 2017 05:24:58)
> Copyright (c) 1997-2016 The PHP Group
> Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
> [root at web robinson-west.com]#
>
> I'm on CentOS 6.8, but php, apache, and perl are custom compiled.
>
> [root at web imp]# cat config/backends.local.php
> <?php
> // IMAP server
> $servers['imap'] = array(
> // ENABLED by default; will connect to IMAP port on local server
> 'disabled' => false,
> 'name' => 'IMAP on goose',
> 'hostspec' => 'mail.robinson-west.com',
> 'hordeauth' => false,
> 'protocol' => 'imap',
> 'port' => 143,
> // Plaintext logins are disabled by default on IMAP servers (see
> RFC 3501
> // [6.2.3]), so TLS is the only guaranteed authentication available
> by
> // default.
> 'secure' => 'tls',
> );
> [root at web imp]#
>
> I am using the passwd file on goose for IMAP, haven't figured out yet
> how to use the horde password instead so that I can log in once for
> both horde and email.
No problem using passwd file, but you should use "['hordeauth'] =
true" instead in your imp/config/backends.local.php.
At Horde configuration authentication tag, set your adminstrators
logins. In your horde/config/conf.php or webmail/config/conf.php:
['auth']['admins'] = array('your_login', 'another_admin_login');
The administrators (your_login and another_admin_login) must exist in
your system and be able to receive and send email.
Configure Hore authentication driver to "Let a Horde application
hendle authentication" and Imp as the application. In your
horde/config/conf.php or webmail/config/conf.php:
['auth']['params']['app'] = 'imp';
['auth']['driver'] = 'application';
Mauricio
>
> When I click on mail I get an error, "Error when communicating with the
> server." The page never loads. I think php-fpm is crashing, but I'm
> not certain on this.
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
Maurício José T. Tecles
Instituto de Biofísica Carlos Chagas Filho/UFRJ
Av. Carlos Chagas Filho, 373
Núcleo de Informática
CCS, Bloco G, sala G1-006
Cidade Universitária - Ilha do Fundão
21941-902, Rio de Janeiro - RJ
mtecles at biof.ufrj.br
Tel.: (21) 3938-6526 ou 3938-6544
More information about the horde
mailing list