diff modules/postfix/templates/main.cf.erb @ 85:50dd78dbf3db puppet-3.6

Fight back against spam * Enable more Postscreen settings * Configure Amavis for SpamAssassin and AV
author IBBoard <dev@ibboard.co.uk>
date Sat, 26 Dec 2015 20:26:22 +0000
parents f192048f9b7e
children a2d6032c6811
line wrap: on
line diff
--- a/modules/postfix/templates/main.cf.erb	Wed Dec 23 11:16:17 2015 +0000
+++ b/modules/postfix/templates/main.cf.erb	Sat Dec 26 20:26:22 2015 +0000
@@ -69,5 +69,15 @@
 # The following may not be used by all versions of Postfix
 postscreen_dnsbl_threshold = 2
 postscreen_dnsbl_sites = zen.spamhaus.org*2 bl.spamcop.net*1 b.barracudacentral.org*1
-#postscreen_greet_action = enforce
-#postscreen_dnsbl_action = enforce
\ No newline at end of file
+postscreen_dnsbl_action = enforce
+
+postscreen_greet_banner = Establishing connection...
+postscreen_greet_action = enforce
+
+postscreen_pipelining_enable = yes
+postscreen_pipelining_action = enforce
+
+postscreen_non_smtp_command_enable = yes
+postscreen_non_smtp_command_action = enforce
+
+content_filter = smtp-amavis:[127.0.0.1]:10024
\ No newline at end of file