Re: [exim] Subject rewrite Spamassassin

Página Inicial
Delete this message
Reply to this message
Autor: Werner Amon
Data:  
Para: exim-users
Assunto: Re: [exim] Subject rewrite Spamassassin
Patrick von der Hagen wrote:

> How do you run spamassassin? Using exiscan? sa-exim? .forward-files
> for your users?
> Personally I'd prefer exiscan, which has a very good documentation.
>
> <Quote>
> For the subject tag, we prepare a new subject header in the ACL, then
> swap it with the original Subject in the system filter.
>
> In the DATA ACL, put this:
>
> warn message = X-New-Subject: *SPAM* $h_subject:
>      spam = nobody

>
> In the system filter, put this:
>
> if "${if def:header_X-New-Subject: {there}}" is there
> then
>    headers remove Subject
>    headers add "Subject: $h_X-New-Subject:"
>    headers remove X-New-Subject
> endif
> </Quote>

>
> Please provide more information abour your setup, if you don't use
> exiscan.


Sorry,

I use Exim4 with exiscan from Debian Testing.

I don't know how to use system filters ..

Werner