[dev] Spam Reporting

Michael Wisniewski wisniewski at mwiz.org
Thu Apr 25 02:16:51 UTC 2013


Quoting Michael M Slusarz <slusarz at horde.org>:

> Quoting Michael Wisniewski <wisniewski at mwiz.org>:
>
>> Quoting Michael Wisniewski <wisniewski at mwiz.org>:
>>
>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>
>>>> Quoting Michael Wisniewski <wisniewski at mwiz.org>> Hi!
>>>>>
>>>>> I was going through trying to setup the git version and noticed  
>>>>> that the "Spam Reporting" section in the "Message and Spam"  
>>>>> configuration within Mail has disappeared.  This is where you  
>>>>> can set "$conf[spam][program]".  Was this moved elsewhere, has  
>>>>> it just not been implemented yet, or is there a better way to  
>>>>> accomplish this?
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>> -- 
>>>>> dev mailing list
>>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>>>> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>>>>>
>>>> imp/docs/UPGRADING
>>>>
>>
>> I added the following per the docs...
>>
>> # cat backends.local.php
>> <?php
>>
>> $servers['imap']['hordeauth'] = true;
>>
>> $conf['spam']['spamfolder'] = true;
>
> That's not going to work.  For one, backends.local.php populates the  
> $servers variable.  Second, you can't copy/paste from $conf.
>
> Follow the examples/documentation provided in backends.php.
>
> michael

I have to say that it's really confusing at first, but then starts to  
make a little sense.  I ended adding the following into the  
backends.local.

# cat backends.local.php
<?php

$servers['imap']['disabled'] = true;
$servers['advanced']['disabled'] = false;
$servers['advanced']['maildomain'] = '';
$servers['advanced']['hordeauth'] = true;
$servers['advanced']['spam']['spam']['program'] = '/usr/bin/sa-learn  
-u %u --dbpath /media/ssd/var/mail/.spamassassin -L --spam';
$servers['advanced']['spam']['spam']['display'] = true;
$servers['advanced']['spam']['innocent']['program'] =  
'/usr/bin/sa-learn -u %u --dbpath /media/ssd/var/mail/.spamassassin -L  
--ham';
$servers['advanced']['spam']['innocent']['display'] = true;

?>

I'm hoping this will help others.  For future reference, issues that  
I'm having on the git version like the above, do they belong in the  
dev list or the horde gen mailing list?

Thanks again for the help.




More information about the dev mailing list