Re: [exim] Subject Rewritting and Spam Assassin

Top Pagina
Delete this message
Reply to this message
Auteur: Jakob Hirsch
Datum:  
Aan: 'Exim-users'
Onderwerp: 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