Hello friends,
I wrote another script for message removal for Qmail, this time it's
written in bash. I found this to be easier and faster then those others
already available. It's very simple but efficient, so I hope.
It will only remove messages if you use "--remove", otherwise it will
only list the messages found. I would like to receive comments and
suggestions if possible.
It's available at http://planeta.terra.com.br/arte/pantarotto/qremove/
[root@otonogatobasso /root]# ./qremove.sh --help
sintax: ./qremove.sh [-f|-t|-b string] [-q n] [--remove] [-h|--help]
-f string Search string in the from field
-t string Search string in the destination recipients
-b string Search string in the message body (first 50 lines)
-q n Begin scan in queue number n (default=0)
-h, --help This instructions
-v, --version Version
--remove Really REMOVE messages from queue
--quiet Turn verbose off
Regards, Henrique.