Re: [Exim] Junk Mail

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Metzler
Date:  
À: exim-users
Sujet: Re: [Exim] Junk Mail
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