]> git.proxmox.com Git - pmg-api.git/blobdiff - src/templates/main.cf.in
fix postfix template for before-queue filtering
[pmg-api.git] / src / templates / main.cf.in
index aa52c081e38e006f5ed81cc6d9b5e9d3d5800cfb..1526709293b73d18a9f17eaa286de03e090df7a2 100644 (file)
@@ -49,7 +49,9 @@ relay_transport = [% pmg.mail.relayprotocol %]:[% pmg.mail.relay %]:[% pmg.mail.
 default_transport = smtp:[% pmg.mail.smarthost %]:[% pmg.mail.smarthostport %]
 [% END %]
 
+[% IF ! pmg.mail.before_queue_filtering -%]
 content_filter=scan:127.0.0.1:10024
+[%- END %]
 
 mail_name = Proxmox