Re: [exim] Subject Rewritting and Spam Assassin

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Jakob Hirsch
Data:  
Para: 'Exim-users'
Assunto: 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