RT::Extension::ReportSpam - mark tickets as spam with one click
A simple extension that works with RT 4.0 and newer and allows users to report a ticket as a spam message.
perl Makefile.PL
make
make install
May need root permissions
Add this line:
Set(@Plugins, qw(RT::Extension::ReportSpam));
or add RT::Extension::ReportSpam to your existing @Plugins line.
RT::Extension::ReportSpam
@Plugins
You may also want to set the $SpamAutoDeleteThreshold config option to the number of spam reports required before the system will automatically delete the ticket. This is useful if none of your users have DeleteTicket themselves, but collectively they should be able to delete spam tickets for good. Auto-delete is disabled by leaving $SpamAutoDeleteThreshold unset or setting it to 0.
$SpamAutoDeleteThreshold
rm -rf /opt/rt4/var/mason_data/obj
Users of this extension on RT 3.8 should not upgrade past version 0.03 of this extension.
On any ticket page, you can report the ticket as spam by clicking "S".
You can also click the "S" on the Tools → Spam → Recent page, which lists all the recently created tickets with status "new" and without owner.
If you have rights to delete tickets you mark as spam, then they will be deleted automatically at the same time.
To find all tickets reported as spam and not deleted you can navigate to Tools → Spam → Reported, or use the query builder in advanced mode with the following query:
HasAttribute = 'SpamReports'
Both of these methods list the tickets reported as spam by others without rights to delete tickets themselves.
You can confirm the reports by clicking "S" after querying all tickets reported as spam. If you have rights to delete tickets then they will be deleted.
All bugs should be reported via email to bug-RT-Extension-ReportSpam@rt.cpan.org or via the web at rt.cpan.org.
Ruslan Zakirov <Ruslan.Zakirov@gmail.com>
Thomas Sibley <trs@bestpractical.com>
Under the same terms as perl itself.
To install RT::Extension::ReportSpam, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Extension::ReportSpam
CPAN shell
perl -MCPAN -e shell install RT::Extension::ReportSpam
For more information on module installation, please visit the detailed CPAN module installation guide.