[horde] Anti Spam

Andreas Mauser andreas at mauser.info
Thu Jun 6 20:24:22 UTC 2013


----- 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.

Simon, you said you posted your full configuration, which I have seen.  
Do you mean that I dont have to leave the imap array as it is?
And you meant you need to do a lot of editing, can you help me to  
understand what it is about?

Ole, did you get it working?

Thank you,
Andreas



> On 6 Jun 2013 21:32, "Andreas Mauser" <andreas at mauser.info> wrote:
>
>> ----- Nachricht von Simon B <simon.buongiorno at gmail.com> ---------
>>   Datum: Thu, 6 Jun 2013 21:19:01 +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
>>
>>
>>  On 6 Jun 2013 21:04, "Andreas Mauser" <andreas at mauser.info> wrote:
>>>
>>>>
>>>> ----- 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?
>>>>
>>>
>>> Quite a lot of this was covered in a thread by me less than 10 days ago.
>>>  I
>>> even posted my full configuration, so that should help you both.
>>>
>>
>> Unfortunately I am not able to locate the thread you refering to, but Im
>> eager to read it.
>> Can you guide me to the link please?
>>
>> Thank you very much,
>> Andreas
>>


----- Ende der Nachricht von Simon B <simon.buongiorno at gmail.com> -----


-------------- 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/657b622d/attachment-0001.bin>


More information about the horde mailing list