[exim] Redirect a message with specific subjects and recipie…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Henry Pootel
Data:  
Para: exim-users
Asunto: [exim] Redirect a message with specific subjects and recipients to black hole.
Hello dear List.

I have a file 'to_blackhole'.

---- cut here -----
bob@???:    '*hi, Bob*'
samuel@???: '*hi, Bob*'
---- cut here -----


I would like to redirect messages to bob@??? and samuel@???
with subject 'bla bla bla hi, Bob bla bla bla' to :blackhole:. Not drop!

I've wrote a router:

henry_router:
   allow_fail
   allow_defer
   driver    = redirect
   data      = :blackhole:
   condition = ${


and stoped...
Please help, if it possible.
How I can compare $h_to and $h_subject with two fields from the file?

Thanks.
--

=== Henry Pootel ===