block a bounce spammer
authorRalf Jung <post@ralfj.de>
Sun, 4 Sep 2022 12:23:41 +0000 (14:23 +0200)
committerRalf Jung <post@ralfj.de>
Sun, 4 Sep 2022 12:23:41 +0000 (14:23 +0200)
roles/email/templates/main.cf
roles/email/templates/postscreen_access.cidr

index f7564df4ea6d38bdc47a33b88b6503d3b556127b..1190de5fc874aa3ef1be6d17a4888664752e65f5 100644 (file)
@@ -49,6 +49,7 @@ postscreen_non_smtp_command_enable = yes
 postscreen_bare_newline_enable = yes
 postscreen_access_list = permit_mynetworks,
        cidr:$config_directory/postscreen_access.cidr
+postscreen_blacklist_action = enforce
 {% endif %}
 
 # control relay access
index aec39efc135546149e720df27799398ec2d52a6b..defe200567e6c51d8ea0246c9252db79d95eda81 100644 (file)
@@ -5,3 +5,6 @@
 40.104.0.0/15 permit
 52.96.0.0/14 permit
 2603:1000::/24 permit
+
+# Some hosts that send bounces to the wrong guy (i.e., me)
+153.122.0.0/15 reject please check your config, you are sending bounce spam