From 146a4eadee759b87d6e97a692d01090f6bb2f6c4 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Mon, 18 Oct 2010 20:12:02 +0200 Subject: Add the possibility to append arbitrary text to master.cf templates. --- templates/master.cf.debian-etch.erb | 4 ++++ templates/master.cf.debian-lenny.erb | 4 ++++ templates/master.cf.redhat5.erb | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'templates') diff --git a/templates/master.cf.debian-etch.erb b/templates/master.cf.debian-etch.erb index e6bc4ec..4b39f45 100644 --- a/templates/master.cf.debian-etch.erb +++ b/templates/master.cf.debian-etch.erb @@ -108,3 +108,7 @@ sympa unix - n n - - pipe sympabounce unix - n n - - pipe flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${user} <% end %> + +<%- unless postfix_mastercf_tail.to_s.empty? then -%> +<%= postfix_mastercf_tail %> +<%- end -%> diff --git a/templates/master.cf.debian-lenny.erb b/templates/master.cf.debian-lenny.erb index 7a3aeae..11d0fa0 100644 --- a/templates/master.cf.debian-lenny.erb +++ b/templates/master.cf.debian-lenny.erb @@ -114,3 +114,7 @@ sympa unix - n n - - pipe sympabounce unix - n n - - pipe flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${user} <% end %> + +<%- unless postfix_mastercf_tail.to_s.empty? then -%> +<%= postfix_mastercf_tail %> +<%- end -%> diff --git a/templates/master.cf.redhat5.erb b/templates/master.cf.redhat5.erb index 8c3ee53..3d0c7d6 100644 --- a/templates/master.cf.redhat5.erb +++ b/templates/master.cf.redhat5.erb @@ -79,3 +79,7 @@ ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient + +<%- unless postfix_mastercf_tail.to_s.empty? then -%> +<%= postfix_mastercf_tail %> +<%- end -%> -- cgit v1.2.3