Re: [Exim] Exim filter requirement question

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeffrey Goldberg
Data:  
Para: David M Walker
CC: Exim Users Mailing List
Asunto: Re: [Exim] Exim filter requirement question
[mailed and posted]

On Mon, 5 Mar 2001, David M Walker wrote:

> We are trying to secure a server for some children (aged 5-7) to use,
> as such we want a filter that says something like:
>
> if    $message_headers contains "venexia@???"
> then
>       deliver davidw@???
>       <<deliver to whoever was the original recipients>>
> endif


> This will allow the parents to have a copy of all inbound and
> outbound mail (An alias only working for the inbound case)
> Forgetting the civil liberty issues for a moment what should we
> have in the <<deliver to whoever was the original recipients>>
> part as $h_To: misses out cc's etc and has mulitple addresses ?


Just change

deliver davidw@???
<something>
endif

to

unseen deliver davidw@???
endif

The "unseen" will leave the message for normal delivery to take place.

> Is there a better way to do this ?


Your check of the headers will miss things that are effectively "Bcc'ed".

I am almost certain that this is discussed in the exim FAQ with some
examples.

-j

--
Jeffrey Goldberg
I have recently moved, see http://www.goldmark.org/jeff/contact.html
Relativism is the triumph of authority over truth, convention over justice