[horde] Anti Spam

Andreas Mauser andreas at mauser.info
Thu Jun 6 19:04:17 UTC 2013


----- Nachricht von Arjen de Korte <arjen+horde at de-korte.org> ---------
   Datum: Thu, 06 Jun 2013 20:50:07 +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 Ole Wolf <ole at naturloven.dk> ---------
>>  Datum: Thu, 06 Jun 2013 20:27:40 +0200
>>    Von: Ole Wolf <ole at naturloven.dk>
>> Betreff: Re: [horde] Anti Spam
>>     An: horde at lists.horde.org
>>
>>
>>> Quoting Andreas Mauser <andreas at mauser.info>:
>>>
>>>> I miss the Report as Spam Buttons, but cannot figure out in the changelog
>>>> what happened?
>>>> Has it all moved to Ingo?
>>>
>>> I noticed that, too. Where did the spam buttons go?
>>
>> I would like to figure it out.
>>
>> In backends.php I found an array
>>
>> 'spam' => array(
>>         'innocent' => array(
>>             'display' => true,
>>
>> 	      Email reporting driver
>>             'email' => null,
>>             'email_format' => 'digest',
>>
>> 	      Null reporting driver
>>             'null' => true,
>>
>> 	      Program reporting driver
>>             'program' => null
>>         ),
>> 	 'spam' => array(
>>             'display' => false,
>>
>> 	      Email reporting driver
>>             'email' => null,
>>             'email_format' => 'digest',
>>
>> 	      Null reporting driver
>>             'null' => true,
>>
>> 	      Program reporting driver
>>             'program' => null
>>         ),
>> 	  It is possible to directly define additional spam drivers.
>>          The 'drivers' array should contain a list of driver objects
>>          (these classes must implement the IMP_Spam_Base class).
>>         'drivers' => array(
>>             new IMP_Example_Spam_Driver()
>>         )
>>    ),
>>
>> but I have no idea how to use that.
>>
>> Is it so that only one driver must be used? And with what do I fill  
>> the 'none's?
>>
>> Then I would put it like that
>>
>> 'spam' => array(
>>         'innocent' => array(
>>             'display' => true,
>>
>> 	      Email reporting driver
>>             'email' => spamassassin,
>>             'email_format' => 'digest',
>>
>>         ),
>> 	 'spam' => array(
>>             'display' => true,
>>
>> 	      Email reporting driver
>>             'email' => spamassassin,
>>             'email_format' => 'digest',
>>
>>         ),
>>
>>    ),
>>
>> But then I am not able to login anymore.
>>
>> Thank you for your ideas,
>
> Probably the only thing you need to add to  
> 'imp/config/backends.local.php' is the following:
>
>    $servers['advanced']['spam']['innocent']['program'] =  
> '/usr/bin/spamassassin --report';
>    $servers['advanced']['spam']['spam']['program'] =  
> '/usr/bin/spamassassin --revoke';
>
> (provided you're using the 'advanced' backend). For the other  
> values, the defaults are usually fine.

I am using the IMAP backend, so I added

   $servers['imap']['spam']['innocent']['program'] =  
'/usr/bin/spamassassin --report';
    $servers['imap']['spam']['spam']['program'] =  
'/usr/bin/spamassassin --revoke';

but then realised that all the 'spam' entries are missing in this array.

So I would like to switch to the advanced array, but in the spam  
section are a lot of lines with //
Do I need to comment in/out which of these?

Thank you,
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/3f6e0c34/attachment.bin>


More information about the horde mailing list