EDIT: You cand find additional information in Is it possible to create a Gmail filter that works on headers other than From, To, Subject?
I have two email accounts, one is my main Gmail account which I check regularly (for simplicity I name it firstname.lastname@example.org), and the other one is from university mail service where I currently study (and I name it email@example.com).
As the disk quota of university mail server is too low and there are lots of daily announcements from university staff which contain huge attachments, after about 5-7 days all disk quota is used and afterwards no emails will be delivered to my inbox.
So I created a filter in the university mail service (which uses Zimbra) to forward all received messages to email alias mygmail+UNIFWD@gmail.com and then delete the message.
Now the main problem is: I want to create a filter in Gmail to mark these forwarded messages with a custom label, but the information included in message header, specially FROM and TO fields, is not enough to distinguish these messages from other ones (as shown below)
As you can see, there is no sign of alias I used in the Forwarding Address in Zimbra's filter settings. Even I can't rely on TO field (which contains firstname.lastname@example.org) because there are messages which are sent to both of my email addresses, so some mistakes will occur if I use this field.
By the way, these forwarded messages are marked by Gmail as being sent via mail.uni.com
Is there any way I can use this to filter messages?
Did I miss something while setting up the filter in Zimbra?