[horde] Anti Spam

Andreas Mauser andreas at mauser.info
Thu Jun 6 20:43:00 UTC 2013


----- Nachricht von Arjen de Korte <arjen+horde at de-korte.org> ---------
   Datum: Thu, 06 Jun 2013 22:32:13 +0200
     Von: Arjen de Korte <arjen+horde at de-korte.org>
Betreff: Re: [horde] Anti Spam
      An: horde at lists.horde.org


> Citeren Andreas Mauser <andreas at mauser.info>:
>
>> ----- Nachricht von Simon B <simon.buongiorno at gmail.com> ---------
>>  Datum: Thu, 6 Jun 2013 21:38:19 +0200
>>    Von: Simon B <simon.buongiorno at gmail.com>
>> Betreff: Re: [horde] Anti Spam
>>     An: Andreas Mauser <andreas at mauser.info>
>>     Cc: horde at lists.horde.org
>>
>>
>>> http://lists.horde.org/archives/imp/Week-of-Mon-20130520/054944.html
>>
>> So I read the full thread now and am more confused.
>>
>> At the last page it says to leave the imap backend in backends.php  
>> intact as it is?
>>
>> But then I place
>>
>>  GNU nano 2.0.9                     Datei:  
>> /var/www/html/mauser.info/mailoffice/imp/config/backends.local.php
>>
>> $servers['imap']['disabled'] = true;
>>
>>    'spam' => array(
>>         'innocent' => array(
>>             'display' => true,
>>        //     'email' => null,
>>             'email_format' => 'digest',
>>             'program' => '/usr/bin/spamassassin -k %u'
>>         ),
>>         'spam' => array(
>>             'display' => false,
>>             'email' => 'submit at spam.spamcop.net',
>>             'email_format' => 'digest',
>>             'program' => '/usr/bin/spamassassin -r %u'
>>         ),
>>
>>
>> in backends.local.php and again can not log in.
>
> In short, if you did not use a 'imp/config/backends.local.php' before,

thats correct.

> the following should be enough:
>
>    <?php

I did not realize that I need <?php at the beginning of a .local.php,  
because e.g. in the mime_drivers.local.php a <?php at the beginning  
makes Horde tell me that no server connection can be established  
anymore.

>    $servers['imap']['disabled'] = true;
>    $servers['advanced']['disabled'] = false;
>    $servers['advanced']['spam']['innocent']['program'] =  
> '/usr/bin/spamassassin -k %u';
>    $servers['advanced']['spam']['spam']['program'] =  
> '/usr/bin/spamassassin -r %u';
>
> It is not a good idea to use arrays in 'the *.local.php' files.

I did so now and tataa it works :)

Thank you and best regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1832 bytes
Desc: S/MIME Signatur
URL: <http://lists.horde.org/archives/horde/attachments/20130606/4ac3d6c6/attachment.bin>


More information about the horde mailing list