04 Mar 2022 19:44:47 UTC
- Distribution: RT-Extension-ReportSpam
- Module version: 1.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- KwaliteeBus factor: 1
- % Coverage
- License: open_source
- Perl: v5.8.3
- Activity24 month
- Download (35.66KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionBPS Best Practical Solutions »|«and 1 contributors
- Best Practical Solutions, LLC
- RT VERSION
- HOW TO …
- LICENSE AND COPYRIGHT
RT::Extension::ReportSpam - mark tickets as spam with one click
Works with RT 4.4 and 5.0
A simple extension that allows users to report a ticket as a spam message.
May need root permissions
- Edit your /opt/rt5/etc/RT_SiteConfig.pm
You may also want to set the
$SpamAutoDeleteThresholdconfig 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
$SpamAutoDeleteThresholdunset or setting it to 0.
- Clear your mason cache
rm -rf /opt/rt5/var/mason_data/obj
- Restart your webserver
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.
Best Practical Solutions, LLC <email@example.com>
All bugs should be reported via email to
or via the web at
This software is Copyright (c) 2014-2022 by Best Practical Solutions
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
Module Install Instructions
To install RT::Extension::ReportSpam, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install RT::Extension::ReportSpam
For more information on module installation, please visit the detailed CPAN module installation guide.