Re: [Exim] router that only adds a header ?

Pàgina inicial
Delete this message
Reply to this message
Autor: marte
Data:  
A: Philip Hazel
CC: exim-users
Assumpte: Re: [Exim] router that only adds a header ?
Hi Philip,

tonight I've found the following working:

blacklist_router:
driver = manualroute
senders = ${lookup mysql {MYSQL_Q_BLACKLIST}{$value}}
condition = "${if !def:h_X-Spam-Flag: {1}{0}}"
headers_add = X-Spam-Flag: YES
route_list = * localhost
self = pass

do you see any advantages / disadvantages in your / my way ?

Martin

On 23.09.2003 at 09:28 Philip Hazel wrote:

>add_header:
> driver = redirect
> <whatever conditions you like>
> headers_add = <your header to add>
> data = $local_part@$domain
>
>In other words, redirect the address to itself, adding the header line
>as you do so.


--
/--------------------------------------------------------------------\
| Martin Tettke                 | Tel.:   + 49 - 30 - 742 22 94      |
| Schillerstr. 78B              | FAX :   + 49 - 30 - 743 768 47     |
| 12305 Berlin                  | EMAIL:  marte@???        |

\--------------------------------------------------------------------/