Where
domain.com
is your domain and
mail@example.com
is mail address that is supposed to be black listed. If you have lots of domains, then you can create line-by-line domain list (for example maillist.txt) and create a bash script with the following content: