Re: [Exim] Junk Mail

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Andreas Metzler
Fecha:  
A: exim-users
Asunto: 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