Re: [exim] Store (not deliver) messages if sent to/from an a…

Inizio della pagina
Delete this message
Reply to this message
Autore: Burhan Khalid
Data:  
To: exim-users
Oggetto: Re: [exim] Store (not deliver) messages if sent to/from an address
On 12/12/05, Magnus Holmgren <holmgren@???> wrote:
> Burhan Khalid skrev:
> > On 12/12/05, Marc Sherman <msherman@???> wrote:
> >
> >>However, $h_to is almost certainly not what you want to be testing;
> >>you'll miss CC's, BCC's, and screw up delivery to other addresses in
> >>messages sent to the target address.
> >>
> >>You probably should use
> >>
> >>local_parts = burhan.khalid
> >>domains = gmail.com
> >>
> >>instead.
> >>http://exim.org/exim-html-4.60/doc/html/spec.html/ch15.html
> >
> > Marc:
> >
> >    Didn't understand what you meant by 'screw up delivery to other
> > addresses'.  Are you saying that if someone was to cc: or bcc:
> > burhan.khalid@???, then it would also get caught by the filter
> > and not delivered?

>
> In general, if a message has more than one recipient (envelope
> recipients, handled by the host in question), each is routed
> independently with $local_part and $domain set to the respective values,
> but $header_to etc. is the same every instance. Thus, the condition will
> be true either for all recipients or for none, which might or might not
> be what one wants. The exact messiness in this case is left as an
> excercise to the posters.


Magnus, Marc, et. al.
Thanks so much for you time on this. I managed to get the right
filtering done.