[imp] Spam Button

Simon B simon.buongiorno at gmail.com
Fri May 24 12:25:24 UTC 2013


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.  And as I read it that's
simply the old format that used to be in conf.php

The example in the file which I modified after copying to
backends.local.php says:


  5 $servers['advanced'] = array(
  6     // Disabled by default
  7     'disabled' => false,

And according to my understanding
28  * disabled: (boolean) If true, the config entry is disabled.

so if I set disabled to true, then backends.local.php will be ignored.
 So what's the point?

What am I missing?

Thanks.

Simon


More information about the imp mailing list