Re: [Exim] exim filter (doing something once)

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Arkadiusz Miskiewicz
CC: exim-users
Assumpte: Re: [Exim] exim filter (doing something once)
On 22 Nov 2002, Arkadiusz Miskiewicz wrote:

> I'm currently using exim system filter to get copies of some
> messages:
>
> if $h_from: contains xyz@???
> then
>         unseen deliver other@??? errors_to postmaster@???
> endif

>
> But when xyz@??? sends one mail to few people (4 for example)
> then I'm getting 4 copies of one and the same message.


Did your host receive one copy of the message with 4 recipients, or 4
copies of the message? Check your Exim logs.

If it received only one copy, then the filter should set up just one
additional delivery, because the system filter is run just once.

> How to get only one copy of this message? Is this possible at system
> filter level?


Not if you actually got 4 separate messages.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.