I’ve just created a nice little plugin which blocks mail (via FROM address) based on mails I forward to a certain address (which I’m not telling you what it is!).
It takes advantage of one of the nice features of Haraka – that config files are automatically reloaded when they change (if you don’t want this to happen, load your config in exports.register() into the transaction object or a plugin-global variable). So by simply appending to the relevant config file it auto-updates the blocklist configuration and is used immediately without a restart.
I’m hoping this will help deal with my foreign spam problem. Most of it seems to come from the same addresses over and over.