Re: [Exim] Exim filter requirement question

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Dave C.
Fecha:  
A: Jeffrey Goldberg
Cc: David M Walker, Exim Users Mailing List
Asunto: Re: [Exim] Exim filter requirement question


On Mon, 5 Mar 2001, Jeffrey Goldberg wrote:

> [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".


if $recipients contains ...

I beleive this will work against the envelope recipient(s).. This is off
the top of my head without checking the docs.. I could be wrong..

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


--