summaryrefslogtreecommitdiff
path: root/puppet/modules/postfwd/files
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2015-10-27 15:27:24 -0400
committerMicah <micah@leap.se>2015-11-02 10:19:48 -0500
commited1ff6fa01bf110fc338b7116fdf577aa88a8d46 (patch)
tree0a9650f4e7b2e25cf879e8236c9b96d4e9ad9454 /puppet/modules/postfwd/files
parente97a9d3800b173375a630e18e4b1aa0894eb96e1 (diff)
Add initial rate-limiting for outgoing SMTP, using postfwd (#5972)
Change-Id: I6a6e68908b71d7499eb3ef3c7f0173b3d5b7baa2
Diffstat (limited to 'puppet/modules/postfwd/files')
-rw-r--r--puppet/modules/postfwd/files/postfwd_default19
1 files changed, 19 insertions, 0 deletions
diff --git a/puppet/modules/postfwd/files/postfwd_default b/puppet/modules/postfwd/files/postfwd_default
new file mode 100644
index 00000000..79d0e3de
--- /dev/null
+++ b/puppet/modules/postfwd/files/postfwd_default
@@ -0,0 +1,19 @@
+### This file managed by Puppet
+# Global options for postfwd(8).
+
+# Set to '1' to enable startup (daemon mode)
+STARTUP=1
+
+# Config file
+CONF=/etc/postfix/postfwd.cf
+# IP where listen to
+INET=127.0.0.1
+# Port where listen to
+PORT=10040
+# run as user postfwd
+RUNAS="postfw"
+# Arguments passed on start (--daemon implied)
+# RISEUP disable summary and cache-no-size
+#ARGS="--summary=600 --cache=600 --cache-rdomain-only --cache-no-size"
+ARGS="--cache=600 --cache-rdomain-only --no-rulestats"
+