[horde] Anti Spam

Arjen de Korte arjen+horde at de-korte.org
Thu Jun 6 20:32:13 UTC 2013


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,  
the following should be enough:

    <?php
    $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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 308 bytes
Desc: PGP digitale ondertekening
URL: <http://lists.horde.org/archives/horde/attachments/20130606/d67c513b/attachment.bin>


More information about the horde mailing list