[horde] Anti Spam

Andreas Mauser andreas at mauser.info
Fri Jun 7 17:51:24 UTC 2013


----- Nachricht von Arjen de Korte <arjen+horde at de-korte.org> ---------
   Datum: Fri, 07 Jun 2013 08:58:15 +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>:
>
>> 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?
>
> This is probably not Horde related. You seem to be per-user spam  
> reporting. In most cases, this requires spamassassin to switch UID.  
> This won't work from within Horde, since it will be running as a  
> non-privileged user (wwwrun or something like that).


Hi Arjen,
I made all the perl modules work now and could access the Spam Buttons again.

I added -l to /etc/init.d/spasassassin to the default options.
Was that right there?


In 'imp/config/backends.local.php' this requires something like the  
following two lines instead of the existing ones:

    $servers['advanced']['spam']['innocent']['program'] =  
'/usr/bin/spamc -C revoke -u %l';
    $servers['advanced']['spam']['spam']['program'] = '/usr/bin/spamc  
-C report -u %l';

This I have and Im still able to access Horde, so it looks ok.


> Of course, this will only work if the Horde users are also local  
> users on this system. If you want >to report as one specific user  
> (not the one that Horde is running as), you may want to change the  
> >'%l' to something like 'vscan' or something (or put that info in  
> >'/etc/mail/spamassassin/spamc.conf', location of this file may vary).


Im stuck totally and google also doesnt help me much how to make  
per-user reporting work.
Spam is pretty much blocked by the system with amavis and  
spamassassin, just the Horde Reporting doesnt work yet.

Is there any more lil information, or a nice document somewhere, you  
could give me?
Any help is much appreciated.

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/20130607/fb9366d1/attachment.bin>


More information about the horde mailing list