搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

filter by deliveredto:

  • 4 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 Shmu26

more options

I want to create a filter rule that acts on "deliveredto:[email protected]" I have automatic forwarding set up on my Gmail account, and I want those forwarded messages to be tagged when they come into TB. I tried filtering by Subject, and by body, and it doesn't work.

I want to create a filter rule that acts on "deliveredto:[email protected]" I have automatic forwarding set up on my Gmail account, and I want those forwarded messages to be tagged when they come into TB. I tried filtering by Subject, and by body, and it doesn't work.

被選擇的解決方法

I d not use identities much, but how you set up things in Gmail might actually have an impact.

I suggest you select a mail that meets your criteria, open it and press CTrl+U to see the source and have a look at the headers. You might find the To: contains the original address and you can filter on that. Or it might be something like apparently-to: or there may be x- headers added by Gmail that will identify the oringinal account.

There is a list of header in appendix A of the document linked, including links to the RFC's where they are defined https://datatracker.ietf.org/doc/html/rfc2076#appendix-A

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

Have you tried adding a custom field to the criteria? If you scroll to the bottom of the criteria list where subject and from as located is customize.

You can add any header field to the customize dialog. I have a whole list of field in mine for managing list-id, reply-to, even message id. Once it is added it appears in the list of action just as any of the default entries. The big caveat is that the filter acts on the first instance of the header it sees, so for things like "received:" which can have many occurrences the results are very patchy.

more options

I kinda figured that would be the answer, but I am not sure how to do it. Should the custom field be "deliveredto:" and the text should be "[email protected]"? No, that doesn't seem to work. I set the custom field to "deliveredto" (the colon is not accepted) and it doesn't seem to filter when I choose "Run now".

由 Shmu26 於 修改

more options

選擇的解決方法

I d not use identities much, but how you set up things in Gmail might actually have an impact.

I suggest you select a mail that meets your criteria, open it and press CTrl+U to see the source and have a look at the headers. You might find the To: contains the original address and you can filter on that. Or it might be something like apparently-to: or there may be x- headers added by Gmail that will identify the oringinal account.

There is a list of header in appendix A of the document linked, including links to the RFC's where they are defined https://datatracker.ietf.org/doc/html/rfc2076#appendix-A

more options

Thanks! The custom field that worked for me was X-Forwarded-For

According to what I see in the headers, there are probably a few other fields that would work just as well.