Create file /usr/local/bin/eximrm with following content chmod 755 the file Now running the command “eximrm” will delete mails in Exim mail queue.