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 07-13-2011, 10:58 PM
PhD PhD is offline
Senior Member
 
Posts: 62
Default change the sender address to a user's alias of multiple users using cli

howdy all

we have recently migrated a stack of users to zimbra using external ldap auth
and their "account name" is shortname@domain.com

and we've added an alias to be full.name@domain.com to each user.

Without having to open up each person's mail account in zweb, and manually go to preferences, accounts - to change their sender address from being the default shortname@domain.com to full.name@domain.com

is there a way to update this using zmprov (if i pass a list of accounts to it)?

cheers
Reply With Quote
  #2 (permalink)  
Old 07-14-2011, 08:16 PM
PhD PhD is offline
Senior Member
 
Posts: 62
Default

i think ive just answered my own question

after creating an alias for the user with

zmprov aaa user@domain.com user.name@domain.com

i can then run
zmprov ma user@domain.com zimbraPrefFromAddress user.name@domain.com

and it changes their preferred from address, as if you had changed it from the accounts page in preferences

if you set the pref address to something other than whats in their aliases, it will be discarded and the user@domain.com will still be used.
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.