[EXIM] Using the RBL with Exim filters

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Martin Bialasinski
Data:  
Para: exim-users
Assunto: [EXIM] Using the RBL with Exim filters

Hi,

I use rbl_warn_header = true to insert the X-RBL-Warning header. Now I
want to move mail marked with that header into a spam folder.

But I couldn't figure out how to do this, as the header (if I
understand the doc correctly) may be present, but have no content, if
there is no TXT record for the host.

I tried

if def:header_X-RBL-Notice: then
save $home/mail/spam
endif

but this is not accepted with an error indicating that the syntax is
wrong :-(

Filter error: unrecognized condition word "then" near line 4 of filter
file

Can someone be so nice and send a working solution?

Ciao,
    Martin


--
*** Exim information can be found at http://www.exim.org/ ***