I have a suggestion for the existant LF_SCRIPT_ALERT function. Right now when it detects spam, it chmod's the directory and chattr's it.
It would be really good if it could also delete the emails associated with this script which are still in the mail queue. This would prevent spam from exiting the server.
I'd like to know if this is possible for future releases...
Altering our code would break the License Agreement, there's no functionality to add your own actions outside of the codebase other than for custom regex's.