Re: [exim] use of add_header - not an *exact* drop-in replac…

Top Page
Delete this message
Reply to this message
Author: John Robinson
Date:  
To: exim-users
Subject: Re: [exim] use of add_header - not an *exact* drop-in replacement formessage?
On 06/10/2006 14:21, Philip Hazel wrote:
[...a clear explanation of message and add_header...]
> 5. I think it's confusing to keep both methods indefinitely.


Just to make sure I'm clear, in future, I'll still have e.g.
   # Reject spam messages with score over 15, using an extra condition.
   deny  message = This message scored $spam_score points.
         spam = nobody:true
         condition = ${if >{$spam_score_int}{150}{1}{0}}


but instead of
   # Add X-Spam-Flag if spam is over system-wide threshold
   warn message = X-Spam-Flag: YES
        spam = nobody


I should instead use
   # Add X-Spam-Flag if spam is over system-wide threshold
   warn spam = nobody
        add_header = X-Spam-Flag: YES


Have I got this right?

Cheers,

John.