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-06-2009, 11:38 AM
Senior Member
 
Posts: 58
Default zmprov modifyAccount issue (fowarding)

I have a zmprov script written. The only problem is when I'm trying to create forwarding addresses for specific emails, I get this error:

Code:
prov> ERROR: account.INVALID_ATTR_NAME (invalid attr name: [LDAP: error code 17 - zimbraPrefMailForwardAddress: attribute type undefined])
This is command I'm running (remember this is a script, so assume zmprov is already typed):

Code:
modifyAccount user@pdadmin.com zimbraPrefMailForwardingAddress user@hotmail.com
Reply With Quote
  #2 (permalink)  
Old 01-06-2009, 03:01 PM
raj raj is offline
Moderator
 
Posts: 768
Default

i guess the correct attribute is zimbraPrefMailForwardingAddress
yoru command look ok but the error says: LDAP: error code 17 - zimbraPrefMailForwardAddress

on forum people have this syntax too:
zmprov ma someuser@yourdomain.com zimbraFeatureMailForwardingEnabled TRUE zimbraPrefMailForwardingAddress "someonesemail@hotmail.com"

so make sure there is no typo
raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider

Last edited by raj; 01-06-2009 at 03:08 PM..
Reply With Quote
  #3 (permalink)  
Old 01-07-2009, 07:43 AM
Senior Member
 
Posts: 58
Default

I tried the code you recommended, checked for typos, and I even tried just putting quotes around the forwarding email of my own command and came up with the same error. What now?

Last edited by Amin Kardan; 01-07-2009 at 08:23 AM..
Reply With Quote
  #4 (permalink)  
Old 01-08-2009, 07:21 AM
Senior Member
 
Posts: 58
Default

Just wondering if anyone else has an idea of what could be going wrong here?

EDIT: Just in case anyone stumbles on to the same question, there was a syntax error in 'zimbraPrefMailForwardingAddress'. Instead of Fowarding, I had Forward.

Last edited by Amin Kardan; 01-27-2009 at 11:50 AM..
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.