Re: [Exim] Junk Mail

Top Page
Delete this message
Reply to this message
Author: Jonathan Vanasco
Date:  
To: Andreas Metzler
CC: exim-users
Subject: Re: [Exim] Junk Mail
how.where are you checking for spam?

On Tuesday, September 30, 2003, at 11:13 AM, Andreas Metzler wrote:

> On Tue, Sep 30, 2003 at 03:24:50PM +0100, Michael Daly wrote:
>> Does anyone know how to append a subject line if I receive spam. I
>> tried
>> the following but the message passed through unchanged.
>>
>> if $header_subject: contains "junk"
>> headers add "[JUNK]"
>> endif
>
> "headers add" does not modify the Subject header (it would be called
> "append_to_subject" if this was true), it adds a new header, in your
> case a syntactically invalid one without colons.
>
> This *might* work:
> if $header_subject: contains "junk"
> headers remove subject
> headers add Subject: [JUNK] $rheader_subject:
>            cu andreas

>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##
>