[horde] IMP-6.1.6 : backend.local.php is not read

Gerard Breiner gerard.breiner at ias.u-psud.fr
Tue Nov 26 15:16:04 UTC 2013


Le 25 nov. 2013 à 16:47, Arjen de Korte <arjen+horde at de-korte.org> a écrit :

> Citeren Gerard Breiner <gerard.breiner at ias.u-psud.fr>:
> 
>> Le 25 nov. 2013 à 11:48, Arjen de Korte <arjen+horde at de-korte.org> a écrit :
>> 
>>> Citeren Gerard Breiner <gerard.breiner at ias.u-psud.fr>:
>>> 
>>>> Le 25 nov. 2013 à 00:54, roellig at roellig-ltd.de a écrit :
>>>> 
>>>>> Hi,
>>>>> 
>>>>> NO backend!!
>>>>> USE backends <-- with s
>>>>> 
>>>>> also backends.local.php
>>>>> 
>>>>> Zitat von Gerard Breiner <gerard.breiner at ias.u-psud.fr>:
>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> I defined my backend.local.php as I've done with the others apps but with imp the file is not read. What could be wrong ?
>>>>>> 
>>>>>> Thanks in advance.
>>>>>> 
>>>>>> Best regards.
>>>>>> 
>>>>>> Gérard Breiner
>>>>> 
>>>>> Best Regards
>>>>> Sven
>>>>> --
>>>>> Röllig IT - Technik
>>>>> Hermannstr. 12
>>>>> 12049 Berlin
>>>>> 
>>>>> Tel: 0049 (0)30 / 447 297 03
>>>>> Fax: 0049 (0)30 / 447 297 02
>>>>> mailto: roellig at roellig-ltd.de
>>>>> 
>>>>> --
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>> 
>>>> 
>>>> I Thanks you Sven… However, it is a mistake in my mail but not in my imp config.
>>>> 
>>>> So, in my config I really have backends.local.php but it is not read.
>>>> Yet, I added only what is not in backends.php as shown below :
>>>> 
>>>> -------------------------------------
>>>> <?php
>>> 
>>> $servers['imap']['disabled'] = true;
>>> 
>>>> $servers['advanced']['disabled'] = false;
>>>> $servers['advanced']['name'] = 'Secure IMAP Server';
>>>> $servers['advanced']['hostspec'] = 'myImapServer.fr';
>>>> $servers['advanced']['hordeauth'] = true;
>>>> $servers['advanced']['protocol'] = 'imap';
>>>> $servers['advanced']['secure'] = 'tls';
>>>> $servers['advanced']['port'] = 143;
>>>> $servers['advanced']['smtp']['debug'] = '/tmp/imp.log';
>>>> $servers['advanced']['smtp']['host'] = 'mySmtpServer.fr';
>>>> $servers['advanced']['smtp']['port'] = 25;
>>>> $servers['advanced']['maildomain'] = 'myDomain.fr';
>>>> $servers['advanced']['acl'] = false;
>>>> $servers['advanced']['cache'] = false;
>>>> 
>>>> I wonder why backends.local.php is not read whereas in the other apps like ingo an gollem backends.local.php files are do read.
>>> 
>>> Maybe because you didn't disable the 'imap' backend that is enabled by default in backends.php.
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>> 
>> Yes, you're right…. I added in backends.local.php : $servers['imap']['disabled'] = true; and it works very fine.
>> However the same content in backends.php without this line works too.
> 
> From imp/backends.php:
> 
>     1	<?php
>     2	/**
>     3	 * This file specifies which mail servers IMP can login to.
>     4	 *
>     5	 * IMPORTANT: DO NOT EDIT THIS FILE!
>     6	 * Local overrides MUST be placed in backends.local.php or backends.d/.
>     7	 * If the 'vhosts' setting has been enabled in Horde's configuration, you can
>     8	 * use backends-servername.php.
> 
>> It is why I thought that backends.local.php wasn't read. In fact it was do read but it requires the line you advice me whereas backends.php works without this line.
> 
> It is all there in the comments:
> 
>    16	 * Example configuration file that enables the advanced IMAP server in favor of
>    17	 * the simple server and enables 'hordeauth':
>    18	 *
>    19	 * <?php
>    20	 * $servers['imap']['disabled'] = true;
>    21	 * $servers['advanced']['disabled'] = false;
>    22	 * $servers['advanced']['hordeauth'] = true;
> 
>> Many thanks Arjen and Jan.
>> 
>> Best regards.
>> 
>> Gérard Breiner
> 
> 
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org

Yes, I saw that but after having answered you… My two last messages are disordered. In fact, my last message is the before last. 

Thanks.

Gérard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1885 bytes
Desc: not available
URL: <http://lists.horde.org/archives/horde/attachments/20131126/a7637092/attachment.bin>


More information about the horde mailing list