[How to]Message System has too many messages – How to empty the list

# cd /usr/local/directadmin/data/admin
# cp tickets.list tickets.list.backup
# tail -n 500 tickets.list.backup > tickets.list
# rm tickets.list.backup