These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Postfix - How to enable to check if recipient exists/registered before sending emails to stop spam by malware on the new forum.
Set mail rate limiting to allow e.g. 1 email per second. Set up a monitor on the mail queue so if it goes over a certain amount which you you can set you get an alert and so can investigate.
/* REMOVE ALL MAIL FROM MAIL QUEUE FROM A SPECIFIC DOMAIN OR ADDRESS*/
postqueue -p | tail -n +2 | awk 'BEGIN { RS = "" } /@domain\.co\.uk/ { print $1 }' | tr -d '*!' | postsuper -d -
postqueue -p | tail -n +2 | awk 'BEGIN { RS = "" } /email_address@domain\.co\.uk/ { print $1 }' | tr -d '*!' | postsuper -d -
This article may help in connecting Postfix to registered users if you really want to go down that route. I haven't tried it myself.
https://workaround.org/ispmail/jessie/relaying-smtp-authentication