Re: [Exim] Junk Mail

Top Page
Delete this message
Reply to this message
Author: Michael Daly
Date:  
To: exim-users
Subject: Re: [Exim] Junk Mail
I am using keywords for now in a system filter. The idea is to tag the
subject line of suspected spam messages. Users can decide how to deal
with the tagged messages.

Michael.

>
>
> 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/ ##
>>
>

--
******************************************************************
                       Michael Daly
                    Research Engineer
            CAA Institute of Satellite Navigation
                    Leeds University
                      Leeds LS2 9JT


               E-mail: m.daly@???
                  Tel: +44 (0)113 343 2025
                  Fax: +44 (0)113 343 2032
******************************************************************