Re: [exim] Re: Replacing subject header when spam scanning: …

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Andreas Metzler
CC: exim-users
Assumpte: Re: [exim] Re: Replacing subject header when spam scanning: new idea & FAQ suggestion
On Sun, 6 Nov 2005, Andreas Metzler wrote:

> > IN APPROPRIATE ROUTERn:
> >  headers_remove = Subject
> >  headers_add = ${if {eq{$h_X-Spam-Flag:}{YES}}
> >                     {Subject: *****SPAM***** $h_Subject:}
> >                     {Subject: $h_Subject:}
> >                 }

>
> I guess this will fail miserably if the message is routed more than
> once. - This /might/ not be a issue for local delivery but afaict remote
> messages are frequently routed multiple times, if the remote host is
> temporarily down.


No, this will not fail miserably. The header removal/addition is not
remembered when a message remains on the queue.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book