I have an email address, let's call it [email protected], that I forward to my personal Gmail address. I'm trying to set up a filter that labels all e-mail that comes in via the forwarded address.

I've tried to:[email protected], but that misses emails that I was mentioned in in CC. Sure, I'll just add OR cc:[email protected]. But now I'm still missing BCC's and mailing lists.

Gmail mentions [Sender] via university.edu at the top of a forwarded email, but I have not yet found a way to filter on the basis of that. When I'm looking at the actual contents of the email, the Received: header as well as the Return-Path: header contain [email protected], but Gmail does not appear to provide a way to match on those.

How can I filter this kind of messages?

  • 1
    @pnuts I firmly disagree that it is a duplicate. That question is about filtering and about forwarding, but not at all in the same order.
    – Joost
    Commented Nov 6, 2014 at 20:48
  • Does university.edu set Delivered-To: header? What can you do with your email at university.edu? [e.g. The ultimate dream: unix shell with procmail to process incoming mail] Commented Nov 6, 2014 at 20:50
  • The Delivered-To header is set correctly when receiving it initially, but after forwarding it to Gmail, it is set to the Gmail address, as expected. I have access to a very complete Zimbra web interface, but that's it.
    – Joost
    Commented Nov 6, 2014 at 21:01
  • 4
    A dumb answer: forward your uni mail to [email protected] instead and filter to that address. If you have [email protected], [email protected] also works
    – user5676
    Commented Nov 6, 2014 at 21:12
  • 1
    The "dumb" answer is ideal. Unfortunately, universities like virginia.edu that use gmail do not support the +tag feature. So I am in need of another solution.
    – mareoraft
    Commented Aug 22, 2016 at 2:21


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.