Re: [exim] headers_remove

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Perkel
Data:  
A: exim-users
Assumpte: Re: [exim] headers_remove
Thanks for your help.

Here's what I have:

personal_whitelist:
  driver = redirect
  local_part_suffix=-*
  local_part_suffix_optional
senders = marc@???
#  senders = ${if exists 
{/etc/squirrelmail/prefs/$local_part@$domain.whitelist}\
#             {/etc/squirrelmail/prefs/$local_part@$domain.whitelist}}
  domains = +virtual_local_domains
  headers_remove = X-Spam-Flag : X-Spam-Level : X-Spam-Status : 
X-Spam-Checker-Version:
  data =
  unseen
  no_verify


For some reason - it doesn't seem to be hitting - like it's not there or
something. I'm stumped about what I might be doing wrong.

Edgar Lovecraft wrote:

>Marc Perkel wrote:
>
>
>>ok - it can't be this hard but I'm missing something somewhere.
>>I want to create a router that if the message matches some test will
>>remove a few headers and pass on to the next router. But I can't figure
>>out what driver to use and how to set this up.
>>
>>
>
>Just use the 'headers_remove' in a redirect router that has an empty
>'data' line. Along these lines:
>
>example_router:
>driver    = redirect
>verify    = no
>condition    = ${if eq{yes}{yes}{0}{1}}
>headers_remove =    X-Header_One : X-Header_Two : \
>            X-Header_Three : X-Header_Four
>data        =

>
>
>