[horde] Anti Spam

Arjen de Korte arjen+horde at de-korte.org
Sat Jun 8 15:58:01 UTC 2013

Citeren Andreas Mauser <andreas at mauser.info>:

> Right. So it looks like I have fixed spamd to accept users requests,  
> so I log into the server via ssh as a normal user and put
> spamc -R < /usr/share/doc/spamassassin-*/sample-spam.txt
> in the terminal and it gives me a good result
> 2013-06-08T17:29:51.282011+02:00 webster spamd[31499]: spamd:  
> checking message <GTUBE1.1010101 at example.net> for andreas:511
> 2013-06-08T17:29:51.684206+02:00 webster spamd[31499]: spamd:  
> identified spam (1000.0/5.0) for andreas:511 in 0.4 seconds, 799  
> bytes.
> 2013-06-08T17:29:51.684708+02:00 webster spamd[31499]: spamd:  
> scantime=0.4,size=799,user=andreas,uid=511,required_score=5.0,rhost=localhost.localdomain,raddr=,rport=35922,mid=<GTUBE1.1010101 at example.net>,autolearn=no
> Now I would like the SPAM Button in Horde to report down to spamd  
> and in backends.local.php I have
> <?php
>   $servers['imap']['disabled'] = true;
>   $servers['advanced']['disabled'] = false;
>   $servers['advanced']['spam']['innocent']['program'] =  
> '/usr/bin/spamc -C revoke -u %l';
>   $servers['advanced']['spam']['spam']['program'] = '/usr/bin/spamc  
> -C report -u %l';
> which makes sense to me.

I have no idea what you're trying to do here. Spam filtering (the -R  
option for spamc) is something completely different than spam  
reporting (-C report). So what is it that you expect the reporting  
button to do? Generally, after clicking this button, my users will not  
notice much. The message will be learned by the Bayesian filter and  
reported to SpamCop, but neither of these actions will be visible to  

> I still didnt understand if I have to uncomment anything in the  
> backends.php in the advanced section, do I?

You should never touch that file. All local overrides should go in  
'imp/config/backends.local.php' or you would risk losing changes upon  
-------------- 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/20130608/8f10a64a/attachment.bin>

More information about the horde mailing list