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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Dmitry Shikut
Päiväys:  
Vastaanottaja: Paul Wickham, exim-users
Aihe: 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@???