On 07/08/14 16:15, Viktor Dukhovni wrote:
>> It should probably be:
>> warn encrypted = *
>> add_header = X-TLS-In-Cipher: $tls_in_cipher
>
> You should also be aware that such headers might already be present
> in the message, from previous relay hops. Parse with care. The
> same data in the Received: header might be less ambiguous, because
> it is more clear where it was added.
There are two things you can do with custom headers on that front:
a) be careful *where* in the set of headers it is added - there
are controls for this if don't want the default placing - and use
that knowledge where you're checking for the header
b) remove incoming headers of that name
--
Cheers,
Jeremy