Spam Experts Help

Mass outbound message removal from the outbound delivery queue

Often it's needed to mass remove messages from the outgoing delivery queue (for example when ARF reports). This can already be done using the Interface and API, however we also have an open source script that can help facilitate this.

This can be downloaded here.

This script must NOT be run from a SpamExperts filtering server, and should be run externally using the API credentialsUsage:

python queue_remove_emails.py

Please specify the API server hostname and your API username!

Usage: queue_remove_emails.py [options]

Options:
-h, --help            show this help message and exit
-f SENDER, --from=SENDER
                      find and remove messages from the specified sender
-t RECIPIENT, --to=RECIPIENT
                      find and remove messages from the specified recipient
-s SERVER, --server=SERVER
                      API server hostname
-u USERNAME, --username=USERNAME
                      API username

An example would be:

python queue_remove_emails.py -f bob@example.com -s master.hostname -u admin