Spammed!

Moderator: crythias

Post Reply
RichH
Znuny newbie
Posts: 61
Joined: 13 Mar 2015, 18:34
Znuny Version: 6.4
Real Name: Rich Hagan
Company: Victorinox Swiss Army, Inc.

Spammed!

Post by RichH »

Hi,

This morning one of our OTRS queues was spammed with over 4000 bad messages. I was able to identify the bad messages by the sender's address.

I created a new ticket state named 'Spam' with a state type of 'Closed'.

I then used mySQL query browser to change all ticket with the customer_id equal to the sender to the state 'Spam':

update ticket set ticket_state_id = 10 where customer_id = 'sample@email.tst';

The tickets are no longer appearing in the queues ticket list, however in the Queue view top menu the count of all tickets in the queue still includes the 4000+ spam tickets:
QueueViewbanner.jpg
What can I do to correct this?
You do not have the required permissions to view the files attached to this post.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Spammed!

Post by jojo »

NEVER write on the database manually!!!! Better use GenericAgent

For your case now: delete the OTRS caches
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
KimmoJ
Znuny newbie
Posts: 47
Joined: 15 Sep 2011, 09:32
Znuny Version: 6.0.22
Real Name: Kimmo Jaskari
Company: Transmar Ab

Re: Spammed!

Post by KimmoJ »

For future use, you could have just moved those tickets to the Junk queue, and have a scheduled job that goes through the Junk queue and erases the jobs in there. Optionally, leave them for a few weeks and check to see what's in there.
Post Reply