
Marc Tardif wrote:
The OTRS FAQ (http://faq.otrs.org) covers deleting all tickets from database. However, I would only want to delete all tickets from a single queue.
Keep reading the docs! :-). Look here: http://doc.otrs.org/1.2/en/html/generic-agent-example.html#AEN1040 for the answer.
The reason for this request is that the POP3 mailbox polled by OTRS receives unsolicited messages. These are then manually moved to the JUNK queue. However, after a few days only, it has become apparent that this queue will become needlessly big. Furthermore, the JUNK queue is constantly blinking in the interface, giving the impression messages within should be handled. However, junk is junk, there is really no need to handle these messages.
The generic agent is on a cron that you configure is automatically handled by a cron. You junk queue will be emptied every 20 minutes.