[horde] override file seems not to be checked

ASV asv at inhio.net
Mon Aug 5 16:11:35 UTC 2019


On Mon, 2019-08-05 at 15:13 +0200, Arjen de Korte wrote:
> Citeren ASV <asv at inhio.net>:
> 
> > 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.
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.horde.org/archives/horde/attachments/20190805/32f7b6e1/attachment.bin>


More information about the horde mailing list