[imp] Spam Button

Arjen de Korte arjen+horde at de-korte.org
Fri May 24 13:01:59 UTC 2013


Citeren Simon B <simon.buongiorno at gmail.com>:

> On 24 May 2013 13:18, Arjen de Korte <arjen+horde at de-korte.org> wrote:
>> Citeren Simon B <simon.buongiorno at gmail.com>:
>>
>>>> The line
>>>>
>>>> $servers['imap']['disabled'] = true;
>>>>
>>>> seems to be missing.
>>>
>>>
>>>
>>>
>>> You say missing, but not where from.
>>> Also, in that format it would be a conf.php parameter and not a
>>> backends.local.php one.
>>
>>
>> Read the comments in 'imp/config/backends.php'.
>
>
> Confirming everyone's opinion, I must be stupid.
>
> backends.php says:
>
>  13  * <?php
>  14  * $servers['imap']['hostspec'] = 'imap.example.com';
>  15  *
>  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;
>  23  *
>  24  *
>  25  * Properties that can be set for each server:
>  26  * ===========================================
>  27  *
>  28  * disabled: (boolean) If true, the config entry is disabled.
>
>
> This doesn't tell me where to put that.

Sure it does, a few lines up it clearly states that this should go in  
either backends.local.php or in backends.d/

> And as I read it that's simply the old format that used to be in conf.php

No, it is a way of changing one variable in an array, leaving all  
other elements intact.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 308 bytes
Desc: PGP digitale ondertekening
URL: <http://lists.horde.org/archives/imp/attachments/20130524/eb3d5017/attachment.bin>


More information about the imp mailing list