Re: subject header change
Andrew Gay <[email protected]>
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <E1BgP6i-0006nz-00@nero> |
Hi
You need to read doc/exiscan-acl-examples.txt, section 3, "Marking Spam
messages with extra headers and subject tag".
This explains how to define a system filter that removes the original Subject:
header and replaces it with a header defined in the data ACL.
Hope this helps
Andrew
>
> I am running exim 4.34 with the exiscan patch. I followed the tutorial
> linked from the exiscan site for modifying the subject in the header to
> something like ***POSSIBLE SPAM *** $h_subject.
>
> Here are my config file excerpts...
>
> # add a new subject line when it's over the system-wide threshold
> warn message = Subject: *** POSSIBLE SPAM *** $h_subject
> spam = nobody
>
> # add a new subject line when it's over the system-wide threshold
> warn message = Subject: *** POSSIBLE SPAM *** $h_subject
> spam = nobody:true
> condition = ${if >{$spam_score_int}{60}{1}{0}}
>
> The first I got from the tutorial. This seemed logical but had no effect. I
> changed it to the second so that it would mark the subject on all messages
> scoring 6 or higher. This works ... not as dynamic but it works. Though
> strangely it doesn't modify the subject.. it just adds a whole new line in
> the header. Now I have one line with Subject : foo and at the bottom of the
> header (Subject: ***POSSIBLE SPAM *** foo)
>
> What am I doing wrong?
>
> ::chris