From ed1ff6fa01bf110fc338b7116fdf577aa88a8d46 Mon Sep 17 00:00:00 2001 From: Micah Date: Tue, 27 Oct 2015 15:27:24 -0400 Subject: Add initial rate-limiting for outgoing SMTP, using postfwd (#5972) Change-Id: I6a6e68908b71d7499eb3ef3c7f0173b3d5b7baa2 --- puppet/modules/postfwd/files/postfwd_default | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 puppet/modules/postfwd/files/postfwd_default (limited to 'puppet/modules/postfwd/files/postfwd_default') 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" + -- cgit v1.2.3 From 256105ac5641b5b28cb0edff3d7437cf5f6105c7 Mon Sep 17 00:00:00 2001 From: Micah Date: Thu, 3 Dec 2015 20:12:56 -0500 Subject: Make sure /etc/default and config file are there before service is triggered (#7618) Change-Id: Ib9fa598a94e8fd41329b1c9ed4bb52281bf04992 --- puppet/modules/postfwd/files/postfwd_default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'puppet/modules/postfwd/files/postfwd_default') diff --git a/puppet/modules/postfwd/files/postfwd_default b/puppet/modules/postfwd/files/postfwd_default index 79d0e3de..83742e40 100644 --- a/puppet/modules/postfwd/files/postfwd_default +++ b/puppet/modules/postfwd/files/postfwd_default @@ -13,7 +13,7 @@ PORT=10040 # run as user postfwd RUNAS="postfw" # Arguments passed on start (--daemon implied) -# RISEUP disable summary and cache-no-size +# 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" -- cgit v1.2.3