Re: [Exim] Copying all inbound and outbound messages for a h…

Top Page
Delete this message
Reply to this message
Author: Dmitry Shikut
Date:  
To: Paul Wickham, exim-users
Subject: Re: [Exim] Copying all inbound and outbound messages for a host/domain usinga system filter
>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?

    Possibly You need "if $message_body contains "testhost.domain.com""...
There is a more
chances to copy in/outgoing messages for this domain, cause there are many
non standart mail situations. Try it.


    Dmitry Shikut, shikut@???