[horde] Anti Spam

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

One last thing I recognized in the log file is

2013-06-06T23:07:38.065928+02:00 webster dovecot: imap-login: Login:  
user=<andreas>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,  
mpid=23410, TLS
2013-06-06T23:07:38.320800+02:00 webster HORDE: [imp] Error reporting  
spam: Jun  6 23:07:38.317 [23411] warn: archive-iterator: no access to  
andreas: 2 at /usr/share/perl5/Mail/SpamAssassin/ArchiveIterator.pm  
line 771.#012Jun  6 23:07:38.317 [23411] warn: archive-iterator:  
unable to open andreas: 2#012 [pid 20387 on line 74 of  
"/var/www/html/mauser.info/mailoffice/imp/lib/Spam/Program.php"]
Jun  6 23:07:38 webster HORDE: [imp] Error reporting spam: Jun  6  
23:07:38.317 [23411] warn: archive-iterator: no access to andreas: 2  
at /usr/share/perl5/Mail/SpamAssassin/ArchiveIterator.pm line  
771.#012Jun  6 23:07:38.317 [23411] warn: archive-iterator: unable to  
open andreas: 2#012 [pid 20387 on line 74 of  
"/var/www/html/mauser.info/mailoffice/imp/lib/Spam/Program.php"]

I googled around and double checked the perl modules, reinstalled  
spamassassin as mentioned in some forums but can not get rid of this  
error.

Any idea about this error?

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/5deedcf2/attachment.bin>


More information about the horde mailing list