Follow the steps below to get to know about using the script.
1) Download and copy the script to any directory.
2) Apply execute permission for the script.
chmod +x mailqueue-clear.sh
3) Run the script using:
./mailqueue-clear.sh
OR
bash mailqueue-clear.sh
4) A menu will appear which will list the options available in the script.
Hope this will be useful!