I have an email address, let's call it student@university.edu, 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:student@university.edu, but that misses emails that I was mentioned in in CC. Sure, I'll just add OR cc:student@university.edu. 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 student@university.edu, 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 Nov 6 '14 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] – AnFi Nov 6 '14 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 Nov 6 '14 at 21:01
  • 4
    A dumb answer: forward your uni mail to username+uni@gmail.com instead and filter to that address. If you have username@gmail.com, username+anything@gmail.com also works – user5676 Nov 6 '14 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 Aug 22 '16 at 2:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.