[rt-users] Tickets created by junk mail

Emmanuel Lacour elacour at easter-eggs.com
Wed Jun 12 09:23:28 EDT 2013

On Wed, Jun 12, 2013 at 02:15:41PM +0100, Gary Mason wrote:
> Hi,
> I was wondering what people on here think of being the best way to
> handle tickets automatically created by incoming junk mail.
> We get more than a fair few tickets created like this, and our
> support desk manager would like to be able to highlight these in
> some way so he can sort out his stats each week.
> He suggested using an extra status of "Junk", so that reporting can
> easily pick these out and ignore them if required.

that's a working way, put some spam protection in your mta, add a "Junk"
status (inactive status), then:

- have a cron that find junk tickets, extract original email and submit
  it at you spam protection learning. You should also find some non-junk
  tickets to learn your spam protection with good emails
- once processed, shred those tickets

here is an example of a script I made for spamassassin.

Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com  -   http://www.easter-eggs.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rt-sa-learn.pl
Type: text/x-perl
Size: 4845 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130612/031d691a/attachment.pl>

More information about the rt-users mailing list