Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-15-2009, 11:05 AM
Moderator
 
Posts: 1,432
Default filter on original target address?

I'd like to set up a filter that files mail into a folder based on the address that was used to deliver the mail.

First thought was to set conditions based on To: and Cc: but this isn't perfect, for at least two reasons:
  1. If the message was delivered by BCc: then the address will not appear in To: or Cc:
  2. If the message was sent to more than one address that maps to the account, then the To/Cc condition will match every instance of the message, instead of just the one intended.

Example of the second case: Someone sends mail to help_web@company.com and help_it@company.com. In the SMTP transaction there are two recipient addresses and the message is delivered twice. However there's no way to tell a Filter to put one of the incoming copies into the Web folder and the other one into the IT folder. (Is there?). One use case might be if the two folders are shared to different groups. Another would be a single person transitioning between affiliated organizations, who wants to maintain a single account with aliases that are then sorted.

It seems by the time the message is delivered to the account, the only differentiating feature is buried in the Received headers. However I tried filtering on "Received" to no effect whatsoever. (Should I filter on "Received:"?)

Looks like Bug 15395 - Optionally add X-Original-To header would solve my problem (and I'm voting for it) but what are the prospects for it?
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #2 (permalink)  
Old 06-16-2009, 03:29 PM
Active Member
 
Posts: 29
Arrow

Quote:
Originally Posted by ewilen View Post
[...]I tried filtering on "Received" to no effect whatsoever. (Should I filter on "Received:"?)[...]
In a quick test, I couldn't find differentiating information in the Received header, however brief test--adding a tag to an e-mail message where "Received" contains "ESMTP"--did tag the message.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.