Hi,
I am running a mail server for a community, my server receives lot of spam, which results in thousands of emails in mail queue as the senders use dummy emails.
I am using Sendmail on Linux Red Hat 7.2, the folder of mail queue is /var/spool/mqueue. I want to use a php script and program is via Webmin/Cron to execute it couple of times a day to delete only files from the queue.
Any idea of how to code this script?