Clear nullmailer queue

Problem

When trying to configure nullmailer you may end up with many test emails that end up in the queue, that you don’t want to keep trying to send, but to delete them.

Solution

Clear the nullmailer queue by running:

rm /var/spool/nullmailer/queue/*