From 50a114ab258bd5b9186b61a9c73d82f2ffdab3f6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 2 May 2014 23:04:05 -0300 Subject: firma and gpg_mailgate on wheezy's mater.cf --- templates/master.cf.debian-wheezy.erb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 -%> -- cgit v1.2.3