Add the hostname to the X-Surbl-Hit header
authorPeter Palfrader <peter@palfrader.org>
Wed, 15 Jul 2009 13:40:43 +0000 (15:40 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 15 Jul 2009 13:40:43 +0000 (15:40 +0200)
modules/exim/templates/eximconf.erb

index ae82404..764e5fe 100644 (file)
@@ -871,7 +871,7 @@ acl_check_mime:
          condition     = ${if eq {$acl_m_prf}{markup}}
          set acl_m_srb = ${perl{surblspamcheck}}
          condition     = ${if eq{$acl_m_srb}{false}{no}{yes}}
-         message       = X-Surbl-Hit: $acl_m_srb
+         message       = X-Surbl-Hit: $primary_hostname: $acl_m_srb
 
   accept condition     = ${if eq {$acl_m_prf}{markup}}
 
@@ -974,7 +974,7 @@ out='
          condition     = ${if eq {$acl_m_prf}{markup}}
          set acl_m_srb = ${perl{surblspamcheck}}
          condition     = ${if eq{$acl_m_srb}{false}{no}{yes}}
-         message       = X-Surbl-Hit: $acl_m_srb
+         message       = X-Surbl-Hit: $primary_hostname: $acl_m_srb
 
   accept condition     = ${if eq {$acl_m_prf}{markup}}