Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > ZCS Client Connectors > Zimbra Connector for Outlook

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 10-24-2011, 11:30 AM
Junior Member
 
Posts: 6
Default I need to change the server name on existing profiles via script.

Good Afternoon!

As the title says I need to be able to run a VB script and change the server name on existing Outlook profiles from "Hostname" to a "FQDN".

In my searching for information it would appear that perhaps the server name is stored in the registry at HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles. I have looked through all of the binary entries from regedit, some are readable and some are not garbage. At any rate I do not see it in there.

So does anyone know if that info is stored in the registry, where it might be, if the registry profile path are the same for all users, and if it can be edited?

Wow, that was a lot of questions in one sentence, thanks a bunch for any help!
Reply With Quote
  #2 (permalink)  
Old 10-27-2011, 06:58 AM
Zimbra Employee
 
Posts: 1,327
Default

Under the Registry location you mentioned:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles

you will see each profile. Under each profile, there are a bunch of GUIDs. In regedit, if you click on a given GUID on the left, you will see a bunch of MAPI properties on the right. Under one of the GUIDs (and you can't tell by the name, obviously), there will be a REG_BINARY property on the right with the Name 001f6640. This means that it's MAPI prop 0x6640 (which is the one we use for Zimbra Server Name), and its type is 001f (PT_UNICODE). The associated value is the hex representation of the Zimbra Server Name.

Happy scripting.
Reply With Quote
  #3 (permalink)  
Old 11-02-2011, 12:04 PM
Junior Member
 
Posts: 6
Default

Thank you for the reply. I found this key after I originally posted this, however when i try to edit it from regedit it shows as garbage in the Zimbra profile. When I change it from Outlook profiles it shows OK in the registry.
Reply With Quote
  #4 (permalink)  
Old 11-02-2011, 12:54 PM
Zimbra Employee
 
Posts: 1,327
Default

It's probably really dangerous to change it in this way. I tried messing around with it, and after I changed it on one profile, the profile wouldn't load, and the mail applet would hang when trying to look at the properties that particular profile. There are probably a few places that need changing.
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.