[Exim] Troubles with config

Pàgina inicial
Delete this message
Reply to this message
Autor: Daniel Cafe
Data:  
A: exim-users
Assumpte: [Exim] Troubles with config
Hi, Im using exim version 3.

I will explain my setup

I have a mail server running Exim (primx) recieving mail for blah.com
and I have a backend server (mail)

routername:
driver = domainlist
transport = remote_smtp
route_list = blah.com mail.blah.com


Mail is correctly being routed from the frontend server to the backend,
however I would like to block particular email blah.com email addresses on
primx.

I have tried with message filters by placing the following line in my
exim.conf

message_filter = /etc/mailfilters

And my /etc/mailfilters contains

# Exim filter <= Do not delete this line

if $header_to: contains "blockme@???"
then
        seen
        finish
endif



However this does not seem to work..

Has anyone got any ideas?

Thanks in advance

Daniel