aboutsummaryrefslogtreecommitdiff
path: root/templates/master.cf.debian-wheezy.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-02 23:04:05 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-02 23:04:05 -0300
commit50a114ab258bd5b9186b61a9c73d82f2ffdab3f6 (patch)
tree6271406b99545534e55b00eb8ea444094397d4be /templates/master.cf.debian-wheezy.erb
parent88ccd0abb23e7ad793f93157c52c7ba6346680dd (diff)
downloadpuppet-postfix-50a114ab258bd5b9186b61a9c73d82f2ffdab3f6.tar.gz
puppet-postfix-50a114ab258bd5b9186b61a9c73d82f2ffdab3f6.tar.bz2
firma and gpg_mailgate on wheezy's mater.cf
Diffstat (limited to 'templates/master.cf.debian-wheezy.erb')
-rw-r--r--templates/master.cf.debian-wheezy.erb19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/master.cf.debian-wheezy.erb b/templates/master.cf.debian-wheezy.erb
index 2c43844..c62abcd 100644
--- a/templates/master.cf.debian-wheezy.erb
+++ b/templates/master.cf.debian-wheezy.erb
@@ -150,7 +150,26 @@ sympabounce unix - n n - - pipe
mlmmj unix - n n - - pipe
flags=DORhu user=mlmmj argv=/usr/bin/mlmmj-recieve -F -L /var/spool/mlmmj/$nexthop/
<%- end -%>
+<% if use_firma == 'yes' %>
+firma unix - n n - - pipe
+ flags=DRhu user=firma argv=/var/lib/firma/firma -p ${user}
+firmarequest unix - n n - - pipe
+ flags=DRhu user=firma argv=/var/lib/firma/firma -e ${user}
+<% end %>
+<%- if use_gpg_mailgate == 'yes' %>
+gpg-mailgate unix - n n - - pipe
+ flags= user=gpg_mailgate argv=/usr/local/bin/gpg-mailgate.py
+127.0.0.1:10028 inet n - n - 10 smtpd
+ -o content_filter=
+ -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
+ -o smtpd_helo_restrictions=
+ -o smtpd_client_restrictions=
+ -o smtpd_sender_restrictions=
+ -o smtpd_recipient_restrictions=permit_mynetworks,reject
+ -o mynetworks=127.0.0.0/8
+ -o smtpd_authorized_xforward_hosts=127.0.0.0/8
+<%end %>
<%- unless mastercf_tail.to_s.empty? then -%>
<%= mastercf_tail %>
<%- end -%>