Re: override file seems not to be checked

ASV <[email protected]> Mon, 05 Aug 2019 18:11:35 +0200
Newsgroups gmane.comp.horde.user
Message-ID <[email protected]>
On Mon, 2019-08-05 at 15:13 +0200, Arjen de Korte wrote:
> Citeren ASV <[email protected]>:
> 
> > Hi everyone,
> > I've spent many hours trying to figure out why my IMP couldn't
> > connect
> > to my IMAP server anymore (since at least 2 upgrades). It is not a
> > production server so I've ignored it for a while but now I've
> > decided
> > to spend more time on it and after testing pretty much everything
> > I've
> > realised that the override file:
> > /usr/local/www/horde/imp/config/backends.local.php
> > is simply ignored now as it was trying to connect to "localhost"
> > instead!
> > Changing the 'hostspec' into backends.php (where it should not be
> > done)
> > fixed everything.
> > 
> > Versions installed:
> > php72-horde-5.2.21             Horde Application Framework
> > php72-horde-content-2.0.6      Horde tagging application
> > php72-horde-gollem-3.0.12      Horde Web-based File Manager
> > php72-horde-groupware-5.2.22   Horde Groupware
> > php72-horde-imp-6.2.24         Horde web based webmail system
> > php72-horde-ingo-3.2.16        Horde email filter rules manager
> > php72-horde-kronolith-4.2.27   Horde web based calendar
> > php72-horde-mnemo-4.2.14_1     Horde web based notes manager
> > php72-horde-nag-4.2.19         Horde web based task list manager
> > php72-horde-timeobjects-2.1.4  Horde timeobjects application
> > php72-horde-trean-1.1.9        Horde Bookmark Manager
> > php72-horde-turba-4.2.25       Horde web based address book
> > .....and another plethora of peer related packages
> 
> Apparently, you're using a third-party packaged version of Horde.
> Ask  
> whoever created the packages first, we can't support installations  
> that are not either installed through PEAR (stable) or Git  
> (development).
Hi, yes it is installed from FreeBSD ports but I don't think that there
is much difference with the git version as I've already compared
several files. Anyway if it will persist I will certainly contact the
maintainer.

> 
> > *** backends.local.php:
> > $servers['imap'] = array(
> >     // ENABLED by default; will connect to IMAP port on local
> > server
> >     'disabled' => false,
> >     'name' => 'MY IMAP SERVER',
> >     'hostspec' => 'mail.mydomain.net',
> >     'hordeauth' => false,
> >     'protocol' => 'imap',
> >     'port' => 143,
> >     'secure' => 'tls',
> > );
> 
> The above is wrong. Read the headers of the backends.php file. The  
> example given, is almost what you need:
This is wrong because I should declare only parameters for which the
argument differs from the template one (in backends.php)?

Thanks for your reply and your time.

> <?php
> $servers['imap']['hostspec'] = 'mail.mydomain.net';
> 
> Also mind the permissions. You need to make sure whichever user
> your  
> webserver is running as, can read this file.
> 
> > *** related entry in backends.php (the dist version prior
> > modification):
> > // IMAP server
> > $servers['imap'] = array(
> >     // ENABLED by default; will connect to IMAP port on local
> > server
> >     'disabled' => false,
> >     'name' => 'IMAP Server',
> >     'hostspec' => 'localhost',
> >     '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',
> > );
> > 
> > 
> > Anyone experienced the same?
> > Thanks in advance.
> 
> 
>

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEE5dE8BwbhhcQw2TsezaQsUNd+zIkFAl1IVTgACgkQzaQsUNd+
zIndxgf8DyxlCGsJsk8iiNt3I4aPrNyYIYHDUJM0NahMcLvTjmefF6FOWxgr/1MA
zI+EndWUykHbvBTkAj71ktt7xj++OyYzaNo+5JOPpIHiBivTE6lmAt4bpoqMdUb0
0LoEc1qzbsmmnRu4MYuuAsXbt9hBWRLEPV8QjhHmXBUbsZgVZOQvV8CSpw2Ta1bN
QFD+lMxMoq/eZW9oistf3bKpw70+QnJem4A4wp4JSMX8CqeWHK/OH2mT5D8mjBGm
VX7wVcTssbq2JtTc55VjGHP53dHrlcBWBS2h84HOWardpwqN+mWen9kroO93+rpz
1ByO2jixiJVlwbzT+qlkudRh0Ez0cQ==
=k7mD
-----END PGP SIGNATURE-----