I'd like to forward incoming Gmail to exactly one of two places, depending on the sender, something like this:
- If the sender is a.com or z.com, forward only to firstname.lastname@example.org and delete.
- If the sender is anyone else, forward only to email@example.com and delete.
I've tried doing this with various filter incantations, but with no luck - both filters kick in, and the mail gets forwarded to both places. Is there any way to make it happen?
EDIT: I just tried these filters:
- from:(a.com OR z.com) : Skip Inbox, Forward to firstname.lastname@example.org, Delete it
- from:(-a.com AND -z.com) : Skip Inbox, Forward to email@example.com, Delete it
This works fine, except that all spam is being directed to the second forward as well. (Apparently we're no longer able to negate entire "from" clauses with a single hyphen.)