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

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 01-16-2009, 11:05 AM
Senior Member
 
Posts: 58
Default Adding Multiple Forwarding Addresses

Hello,

I need to add multiple forwarding addresses, and have done so through a script using zmprov, but when I check my admin console I see only one address under the account. Here's what I mean:



As you can see, there is only one address in the 'User-specified forwarding address' field. Does this mean that even though I put multiple addresses in my script, that only one address is being used? Lastly, instead of putting forwarding addresses on an account, I was thinking about just making a distribution list, but the issue with that is, there are a couple personal email accounts that are forwarded to more than one email address. For example:

me@domain.com is forwarded to me@hotmail.com AND me@yahoo.com

In this scenario, I would have to be able to add TWO forwarding addresses to the same email account. Any help?

Last edited by Amin Kardan; 01-16-2009 at 11:09 AM..
Reply With Quote
  #2 (permalink)  
Old 01-16-2009, 11:22 AM
Active Member
 
Posts: 41
Default

What about using mail filter to forward based on a wildcard or custom rule.
Attached Images
File Type: jpg Capture.JPG (39.7 KB, 197 views)
__________________
Derek Buchanan
Director

Utilis Technology Ltd.
http://www.utilis.ie
Reply With Quote
  #3 (permalink)  
Old 01-16-2009, 11:32 AM
Senior Member
 
Posts: 58
Default

Is there a way to automate that into my script?
Reply With Quote
  #4 (permalink)  
Old 01-16-2009, 11:37 AM
Active Member
 
Posts: 41
Default

User Migration - Zimbra :: Wiki
__________________
Derek Buchanan
Director

Utilis Technology Ltd.
http://www.utilis.ie
Reply With Quote
  #5 (permalink)  
Old 01-16-2009, 11:40 AM
Senior Member
 
Posts: 58
Default

Much appreciated. I will use distribution lists and this filter to complete my task.
Reply With Quote
  #6 (permalink)  
Old 01-16-2009, 11:42 AM
Moderator
 
Posts: 6,237
Default

su - zimbra
zmprov ma user@domain.com zimbraPrefMailForwardingAddress forward@domain.com
zmprov ma user@domain.com zimbraMailForwardingAddress forward1@domain.com
zmprov ma user@domain.com +zimbraMailForwardingAddress forward2@domain.com
zmprov ma user@domain.com +zimbraMailForwardingAddress forward3@domain.com

Notice the use of + (plus) to remove them use - (minus)

The end user can only set one value in their options/preferences (zimbraPrefMailForwardingAddress) which is a single valued in the LDAP schema.

Currently, admins can set multiple forwarding addresses for an account by setting zimbraMailForwardingAddress. (See admin console > individual account > forwarding tab > forwarding addresses hidden from the user.) Note it can be reveal to the sender that the fwd's exist should mail to one of them bounce; they aren't new message envelopes as in legal intercept/ZAD. (Using a distribution list instead could hide them though.)

Most feel making it multi-value really calls for having an admin settable limit on how many you are allowed. Be sure to vote for: Bug 11299 - Allow user to set multiple forwarding addresses, need admin defined limit
Reply With Quote
  #7 (permalink)  
Old 01-16-2009, 12:51 PM
Senior Member
 
Posts: 58
Default

ah ok, I will actually use that for the individual users instead since it's already in my script, and will save me creating two config scripts. Also, just out of curiousity, is this syntax correct for the previous suggestion:

(zmmailbox < config.txt)
Code:
addFilterRule me@domain.com Forwarding redirect me@hotmail.com
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.