eximconf: use "add_header" when the intent is to add headers
[mirror/dsa-puppet.git] / modules / exim / templates / eximconf.erb
index c619856..1441c9b 100644 (file)
@@ -725,7 +725,7 @@ check_recipient:
 <%- if @is_packagesmaster -%>
   warn    condition      = ${if eq {$acl_m_prf}{PackagesMail}}
           condition      = ${if eq {$sender_address}{$local_part@$domain}}
-          message        = X-Packages-FromTo-Same: yes
+          add_header     = X-Packages-FromTo-Same: yes
 
 <%- end -%>
   deny    condition      = ${if !eq {$acl_m_prf}{PopconMail}}
@@ -993,7 +993,7 @@ acl_check_mime:
          condition     = ${if eq {$acl_m_prf}{markup}}
          set acl_m_srb = ${perl{surblspamcheck}}
          condition     = ${if !eq{$acl_m_srb}{false}}
-         message       = X-Surbl-Hit: $primary_hostname: $acl_m_srb
+         add_header    = X-Surbl-Hit: $primary_hostname: $acl_m_srb
 
   # Dump MIME parts to disk. "default" creates sequentially-named files
   # in <spool_directory>/scan/<message_id>/ which should then be