The "message" modifier for the "warn" verb can still be used to add
headers, but it's more obvious to use add_header explicitly
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
<%- if @is_packagesmaster -%>
warn condition = ${if eq {$acl_m_prf}{PackagesMail}}
condition = ${if eq {$sender_address}{$local_part@$domain}}
<%- 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}}
<%- end -%>
deny condition = ${if !eq {$acl_m_prf}{PopconMail}}
condition = ${if eq {$acl_m_prf}{markup}}
set acl_m_srb = ${perl{surblspamcheck}}
condition = ${if !eq{$acl_m_srb}{false}}
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
# Dump MIME parts to disk. "default" creates sequentially-named files
# in <spool_directory>/scan/<message_id>/ which should then be