[horde] Quick Question

Mike Poznecki poz_sa at yahoo.com
Tue Jan 2 20:43:41 UTC 2018


 

    On Tuesday, January 2, 2018, 12:10:26 PM CST, Nels Lindquist <nlindq at maei.ca> wrote:  
 
 -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, Mike.

On 2018/01/02 10:32 AM, Mike Poznecki wrote:
> Hi all, there is a file,
> "/var/www/horde/imp/config/backends.php".How does this file get
> modified?  Some how, ( I don't remember) I modified the hostspec
> under 'imap'.  I cannot remember what it was before I set it to a
> temporary server.  I can manually modify it, but I would like to
> know what the original value was and also how to modify it via the
> interface.

The default hostspec for the imap config is 'localhost'. I don't
believe there's a way to modify backends from the GUI, and you
shouldn't be modifying backends.php at all.

Instead, create a 'backends.local.php' file (don't copy backends.php)
and put in config overrides of the form:

<?php
$servers['imap']['hostspec'] = 'imap.example.com;
$servers['imap']['autocreate_special'] = true;
[....]
$servers['pop']['disabled'] = false;

Then, when you upgrade the IMP application with PEAR, your
configuration changes won't be overwritten by the new default
'backends.php' file.

- ----
Nels Lindquist
<nlindq at maei.ca>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlpLyaQACgkQh6z5POoOLgQOegCdEz2BevxiAkei/yS9ofnmeY33
QtMAn3h6e7f7Zj51kxDzFGh34k34J3R/
=KRzo
-----END PGP SIGNATURE-----
-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org
Thanks.

  


More information about the horde mailing list