[prev in list] [next in list] [prev in thread] [next in thread]
List: exim-users
Subject: Re: [Exim] Relay problems
From: "Kevin Reed" <listaccount () tnet ! com>
Date: 2003-12-31 17:35:23
Message-ID: 2635.68.3.76.238.1072892123.squirrel () www ! tnet ! com
[Download RAW message or body]
Roxik said:
> Hi
>
> I'm installed exim 4.30 and worte ACL's. I use exiscan (SA + Clamv) too:
>
> check_rcpt:
[snipped - Wakko already commented on this]
> P.S.
> In check_message pass i use this:
> warn message = [SPAM] $h_Subject
> condition = ${if >{$spam_score_int}{40}{1}{0}}
> Its simple. If spam_score_int are between 40 and 50, then exim add to
> subject text: [SPAM].
> Its work, but add second subject. Is any solution to remove first subject
> line in ACL? Mayby is other solution ?
> Some MUA accept only first subject line and user not see correct subject
> line.
Change this to look like:
# If a message is marked as Spam, set it as a new header
warn message = X-New-Subject: [SPAM] $h_subject:
condition = ${if >{$spam_score_int}{40}{1}{0}}
and in your System filter add:
# If X-New-Subject replace real subject...
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
--
Kevin W. Reed - TNET Services, Inc.
Unoffical Exim MTA Info Forums - http://exim.got-there.com/forums
--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at \
http://www.exim.org/ ##
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic