Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[dev] Spam Reporting

5 views
Skip to first unread message

Michael Wisniewski

unread,
Apr 24, 2013, 1:50:45 PM4/24/13
to
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-uns...@lists.horde.org

Michael J Rubinsky

unread,
Apr 24, 2013, 1:55:10 PM4/24/13
to
Quoting Michael Wisniewski <wisni...@mwiz.org>> Hi!
imp/docs/UPGRADING

mike
Sent from mobile

Michael Wisniewski

unread,
Apr 24, 2013, 7:33:01 PM4/24/13
to

Quoting Michael J Rubinsky <mrub...@horde.org>:

> Quoting Michael Wisniewski <wisni...@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-uns...@lists.horde.org
>>
> imp/docs/UPGRADING
>

Darn, thanks for that. Once again, Horde is smarter than I am.

Michael Wisniewski

unread,
Apr 24, 2013, 9:46:03 PM4/24/13
to

Quoting Michael Wisniewski <wisni...@mwiz.org>:

> Quoting Michael J Rubinsky <mrub...@horde.org>:
>
>> Quoting Michael Wisniewski <wisni...@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-uns...@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;
$conf['spam']['email_format'] = 'digest';
$conf['spam']['program'] = '/usr/bin/sa-learn -u %u --dbpath
/media/ssd/var/mail/.spamassassin -L --spam';
$conf['spam']['reporting'] = true;
$conf['notspam']['spamfolder'] = true;
$conf['notspam']['email_format'] = 'digest';
$conf['notspam']['program'] = '/usr/bin/sa-learn -u %u --dbpath
/media/ssd/var/mail/.spamassassin -L --ham';
$conf['notspam']['reporting'] = true;

?>

But the report spam button is not appearing like it did before. I
thought there was something else that needed to be done, but can't
seem to find it.

Michael M Slusarz

unread,
Apr 24, 2013, 9:51:30 PM4/24/13
to
Quoting Michael Wisniewski <wisni...@mwiz.org>:

> Quoting Michael Wisniewski <wisni...@mwiz.org>:
>
>> Quoting Michael J Rubinsky <mrub...@horde.org>:
>>
>>> Quoting Michael Wisniewski <wisni...@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-uns...@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

___________________________________
Michael Slusarz [slu...@horde.org]

Michael Wisniewski

unread,
Apr 24, 2013, 10:16:51 PM4/24/13
to
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.

Michael M Slusarz

unread,
Apr 24, 2013, 10:25:43 PM4/24/13
to
Input is always welcome in how to make the documentation better. This
is one of the best ways to give back to an open source project.

> 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?

You can either use the dev@ list or, if an application-specific list
exists, you can use that also.

michael

___________________________________
Michael Slusarz [slu...@horde.org]

0 new messages