[horde] Anti Spam

Andreas Mauser andreas at mauser.info
Thu Jun 6 20:13:11 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

when I put

   '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 imp/config/backends.local.php I cannot logon anymore.

Error message:

HORDE: [horde] IMP is marked as authenticated, but no credentials can  
be found in the session. [pid 16028 on line 514 of  
"/var/www/html/mauser.info/mailoffice/imp/lib/Imap.php"]

in the backends.php I have:

// IMAP server
$servers['imap'] = array(
     // ENABLED by default; will connect to IMAP port on local server
     'disabled' => false,
     'name' => 'IMAP Server',
     'hostspec' => 'localhost',
     'hordeauth' => false,
     'protocol' => 'imap',
     'port' => 143,
     // Plaintext logins are disabled by default on IMAP servers (see RFC 3501
     // [6.2.3]), so TLS is the only guaranteed authentication available by
     // default.
     'secure' => 'tls',
);




> 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/73c022b7/attachment.bin>


More information about the horde mailing list