[Exim] Copying all inbound and outbound messages for a host/…

Top Page
Delete this message
Reply to this message
Author: Paul Wickham
Date:  
To: 'exim-users@exim.org'
Subject: [Exim] Copying all inbound and outbound messages for a host/domain using a system filter
Hi

I have a system filter that contains

if $h_to: contains "testhost.domain.com" or
        $h_from: contains "testhost.domain.com"
        then unseen deliver testhostcopy@???
        errors_to postmaster@???
end if


When I run exim -d 10, and send an email to user@??? the
system tests the address but decides that there is no match.
Is my filter being too specific?


We want to copy all mail for a particular host to a monitoring a/c as we
suspect the domain is being abused.

Any help in this would be appreciated.

Regards

Paul


-----------------------------------------------------------------
Paul Wickham 
Network Administrator      Tel: +44 (0)1493 845718 (DDI) 
Gardline Surveys Ltd       Tel: +44 (0)1493 845600 (Switchboard)
Endeavour House            Email: paul.wickham@???
Admiralty Road           Fax: +44 (0)1493 850723            
Great Yarmouth 
NR30 3NG         
-----------------------------------------------------------------