It's your boolean logic.  You're NOT'ing an OR, which is not having your
desired effect.  You need to break that one out, and turn them to ANDs.
 So, using the logic you've listed:

from:(*@vub.ac.be & [email protected] & [email protected])

Or, using a logic I've used successfully in searches:

from:vub.ac.be -from:{batman robin}

The curly brackets ORs things between them.  Unless otherwise stated,
search terms are AND'd.


On Mon, Sep 23, 2013 at 5:08 AM, Filip Van Droogenbroeck <
[email protected]> wrote:

> Hello,
>
> I wish to to create a filter that will put all emails from a certain
> domain under a specific label but excludes 2 mail adresses from that domain.
> For example for the whole domain the following works
> *from:*@vub.ac.be*
>
> to exclude a mail adres I tried
> from:(*@vu**b.ac.be & !(batman@vub.**ac.be))
> which works for one adres, but when I try
> from:(*@vu**b.ac.be & !(batman@vub.**ac.be OR [email protected]))
> it doesn't work.
> Anybody had any idea how to do this or why my idea isn't working?
>
> Kind regards,
> Filip
>
> --
> You received this message because you are subscribed to the Google Groups
> "Gmail-Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/gmail-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Gmail-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/gmail-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to