Re: [exim] Subject Rewritting and Spam Assassin

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: 'Exim-users'
Assumpte: Re: [exim] Subject Rewritting and Spam Assassin
Gordon Ross wrote:

> warn message = Subject: ??? SPAM ??? $h_subject


Unfortunately, there is no facility to remove or replace a header in
Exim's ACLs. So change "Subject" above to something unique (like
X-your_site-newsubject) und put this in your system filter:

if first_delivery then
  if $h_X-your_site-newsubject: is not ""
  then
    headers add "X-Original-Subject: $h_Subject:"
    headers remove Subject
    headers add "Subject: $h_X-your_site-newsubject:"
    headers remove X-your_site-newsubject
  endif
endif