Moving Mail Users from a Local Directory to Open Directory

Hi,
We have been running a standalone mail server for a few years. We have recently upgraded to 10.5 for all of our servers. We have also been running an Open Directory server for the last year or so. Now I am trying to move my email users from the Local Directory on the Mail server to the LDAP server. Obviously we do not want to change account names, so I find I need to delete the local user and then enable the user through the LDAP. This works fine, but I need to bring the original IMAP files/folders forward.
My question is what is the best practice? I thought backing up the Mail folder in each user's Library and reimporting it would work, but it won't take the IMAP mbox (I can see all the .emlx files in the backup of the user's Mail folder).
So again, I had a user called user1 in my mail server Local directory say server1. I also have an Open Directory server2 with the same username on it. I have bound server1 to server2. I can see the server2 (OD) accounts on the server1 (mail). I then need to delete user1 from Local server1 directory in order to enable mail to user1 from the OD. This does work, but again, I need bring the mail files/folders to the new OD account on server1.
thanks,
mike

Tony,
Let me check of the migration manual, thank you!
I really thought this was going to easier than this. The current accounts are IMAP, and therefore when I "hook up" the new OD account, which doesn't really need anything done on the client side because it is the same username and password and server as the current Local account. When it syncs, the old emails on the IMAP account in the user's Mail program clear since the new OD account is empty on the server.
I just really thought duplicating the Mail folder in the client's home Library would allow me to import the emails back in. I have tried highlighting the mailboxes (Inbox, and personal folders), archiving them, and then reimporting seemed to work, but I need to beat it up before I start working on live accounts. One account I did try lets me read the emails from the user, but when I try dragging them to the IMAP folders from the import folder, I get a NULL character problem on IMAP append error. NOT to chase that, but it was something else that tripped me up.
You do bring up a good point, I think the accounts were originally setup as POP and IMAP. I'll chase some ideas about that.
Let me play around, you've been great considering my awful explanation of this different situation.
thanks again,
mike

Similar Messages

  • Impact of moving a user from one organisational unit to another.

    Hi
    my system description :
    extended classic
    srm 5.00
    I am new to srm and i would have some questions about the impact of moving a user from one organisational unit to another.
    The senario is that:
    I have moved a user from organisational unit X  to Y lets say different purchasing organisation
    The user had PO created in organisational unit X waiting for goods receipt but even if he is now in organisational unit Y he can still create the good receipt for the PO created in organisational unit X .
    Is it ok?
    Futhermore not only can he create good receipt but the good receipt take the cost center assigned in organisational unit Y whereas the PO has the cost center of organisation X.
    I believe that is how the confirmation works in SRM. However is there a way for it to take  account assignment from the PO instead of where the user is situated in the org hierarchy when doing confirmation.
    Thanks

    Thanks for your answers
    Maybe i should explain how the user was moved.
    I did not used users_gen because i didn't want the user's partner ID to be changed.  If the partner ID is changed then the user would not  be able to access PO from old Organisation Unit. (can somebody confirm this please)
    I did right click on the wanted Organisation Unit then assign the user.  The problem is that the relationship between the user partner ID and the new organisation unit was not maintained and the user could not create shopping cart in the new organisation unit. 
    To solve this issue oss note 1041701 was implemented and the issue was solved.
    But before the the implementation of oss note  1041701, if the user had open items from old organisational unit he could not access PO thus could not confirm goods receipt when moved in new organisation unit.
    Now this is possible he can confirm goods from old unit but the confirmation is done using cost centre of user instead of the cost centre of the PO.
    Jagadish you said that the confirmation must be done using PO accounting details not the user attributes.  Then i think i have a problem in my system.
    regards,
    yannick.

  • 10.6 home directory mounting with active directory and open directory integration

    Hi guys i am having some issues in my new mac environment. I have a windows network with an server 2008 active directory. I have just recentlly created a "magic triangle" setup with active directory and open directory. When my users login via windows their home folders mount perfect. When any user logs in to any iMac in the building it does not work. They login perfectly fine, but their home folders do not mount. When i try mounting them manually with smb, i get a prompt for credentials. I am thinking this is my issue, my Single sign on with kerbos is working but for some reason is not logging in correctly. If i type in my credentials with my domain first then my name it works.
    For example DOMAIN\jsmith works, but the way i think the mac and active directory is doing it now is just jsmith without the DOMAIN.
    I feel like this is the problem with the home folders not mounting.
    Can anyone provide some help with this?
    Thanks,
    Dani

    Hi dani190,
    are you using the fully qualified domain name of the network server? ie if your server is bob. and your domain is domain.company.com. then the FQDNS would typically be bob.domain.company.com or bob.company.com.
    If the FQDNS works, then have you checked in the AD to make sure the path to the network home folder uses the FQDNS?
    For the contact search path, did you put the AD at the top the list? (in directory utility)
    Did you set the WINS work group on your client computer to your domain?
    ie:Apple Menu, System Preferences, Network, Active Network Port (ethernet and or airport) , Advanced Button, WINS Tab, set workgroup to the name of your domain. ie domain.company.com and or company.com

  • Migrate existing users from local domains to Open Directory.

    Here is the environment I'm working with:
    Small local environment (8-10) users. Everyone is on their own laptop, everyone is authenticating to their local directories. Network files are stored on a server, with everyone using a single shared user ID to authenticate and access the files.
    I have just installed a Xserve, and it is now serving DNS, DHCP, NTP, WWW. I want to setup Open Directory in Master mode, create user IDs for everyone, and then assign permissions to the shared files area.
    The one part that I'm not sure how to approach is the local laptops. If user "John Doe" has a local ID "jdoe" that he has been using on his local laptop, how does he migrate over to being "jdoe" in the OD domain, while reatining his "local" home directory and files? The problem I think I'll have is that when I create "jdoe" on the domain, he will have a UID of (say) 10001, but his local UID is 501 (as is the UID of all the other employees since they are all the first user on each of their respective laptops.) so when he logs back into his laptop after it has been attached to the OD domain, I assume that the laptop will see "jdoe" from the OD domain as a new user and create a new home for him (with the UID:10001), so now John cannot see any of his old files and such.
    Also, as a side question: I've worked with Windows ID before, and I know once you join a windows computer to a domain and then login to it, it creates a new user and caches the authentication info, so that when the laptop is not connected to the corporate network, the user can still login and work. Does Open Directory do the same on the laptops?
    Thanks for any help.

    Retaining password is a manual process of asking the user what his or her password is and then creating it in OD.
    As for migration of account, it is rather simple, provided the short name of the user remains consistent across directory systems. For example, if you have a user named Joe User and his short name is juser with a home folder in /Users/juser. And you create the same account in OD. You can do these few short actions.
    1: Bind system to the domain
    2: From the Admin account, and using Terminal from root, navigate to /var/db/dslocal/nodes/Default/users and find the plist file for the user (in our example, juser.plist).
    3: Delete the file using rm
    4: Restart the machine or restart Open Directory
    5: Log in as the admin user and change ownership of the users home folder. Recall that when the user is in the local domain, the UID was likely 502, 503, etc (you do have a standard local admin at 501 right?) Now that the user is in OD, the UID will be 4 digits, something like 1027. So understanding that user attributes and user data are independent, you now have a folder in /Users titled juser and owned by uid 50x. You need to make it owned by juser from the OD domain. User this:
    sudo chown -R juser /Users/juser
    6: Log out of the admin account
    7: Log in as the user after choosing Other at login window.
    Assuming you have your OD account set up properly, you will likely be asked to confirm the caching of the users credentials. This will path you right back into the user's home folder and all will be right with the world.
    This is simple and quick. If the shortnames are different, throw an mv into the mix to rename the home folder to match the domain shortname. If you have no local admin, then you will need to reset DSLocal and start again.

  • Having trouble moving mail messages from one user to another

    I am trying to move mail messages from one user to another on my Macbook, and I cannot seem to do it. I've tried archive, but I don't think I'm doing it right. Any suggestions?
    Thanks,
    Noreen
    Message was edited by: reensjp

    I had to go to the Mac store to get the answer to this one... i was archiving correctly, but you need to save the mbox files to your desktop, then move them to the shared folder, that way all users have access. I also had to edit the permissions on the files, as the user i wanted to have the emails didn't have permission to even look at the files.
    Noreen

  • Moving a folder from one local root folder to another

    I've used Dreamweaver CS4 to build my website, and I've become basically familiar with the way it works. Now I'm just starting to build a second site - and I've run into a baffling problem.
    I've defined the new site in the normal way, and created the local root folder.
    I've got a folder full of image files that is currently sitting in the local root folder of my old site - I'd like to put this into the local root folder of my new site.
    This may seem silly, but I can't find a way to move that images folder from one local root folder to the other. I thought it would be a simple drag & drop move, but there doesn't seem to be a way to do this. I've moved the images folder to the desktop, from where it should be easy to drag it over the new local root folder icon in Dreamweaver and drop it in - but it doesn't work.
    Am I missing something obvious here...?

    You should be able to access your entire computer directory structure through the Files Panel in Dreamweaver.
    Click the drop down arrow next to the named site (the open site) at the top of the Files Panel and navigate up into the rest of your computer. You can then Ctrl-C (copy) the folder, re-select the name of your site (the green folders at the bottom of the directories, not in the computer structure), and Ctrl-V (paste) the folder where you want it. Contents will of course come with it.
    You could (alternately) just copy and paste it working within the computer's directory structure. Paste it into the new root folder and, in Dreamweaver, refresh the view in the Files Panel. The folder should show up fine.
    Notice that I have not been drag and dropping, though that should work with the last-mentioned technique.
    Beth

  • Moving mail data from mail to Outlook for Mac.

    I am moving old PC mail data (outlook 2007) to Mac. I used the mac mover, which was great but...  it has moved my old mail data to mac mail.  I am trying to export that data now (on the mac mail) to then import into Outlook for Mac, but not getting anywhere?  Outlook support says it will import the data as a mac export txt file, but whenever i try and import Outlook can not see the file.
    I have also tried to just export the mail data from one mac users mail app to another and that is also not working.  Import mail function reports format error, even though it is from the same version of mail on the same machine.
    any suggestion, links to info much appriciated.

    http://www.outlookimport.com/export-e-mails-from-apple-mail-and-import-to-ms-out look/
    more hits even if you have to skip the ones that describe the opposite
    http://www.google.dk/search?source=ig&hl=da&rlz=1G1TSEH_ENDK367&q=percent+of+the +world+that+believe+in+evolution&oq=percent+of+the+world+that+believe+in+evoluti on&aq=f&aqi=&aql=&gs_sm=e&gs_upl=1032792l1170990l0l1171230l56l55l0l35l35l2l281l3 626l0.12.7l19l0#sclient=psy-ab&hl=da&rlz=1G1TSEH_ENDK367&source=hp&q=import+mail +from+mac+mail+to+mac+outlook&pbx=1&oq=import+mail+from+mac+mail+to+mac+outlook& aq=f&aqi=&aql=&gs_sm=e&gs_upl=2887l3593l1l3847l4l4l0l0l0l0l347l1116l0.1.1.2l4l0& bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&fp=d1d65e2d1be363fb&biw=1848&bih=789

  • How to transfer user accounts from Active Directory to Open Directory

    Please help me , want to tranfer user accounts from Active Directory (Windows server 2012 ) to Open Directory (OS X server 10..2.9)

    Hi,
    Go to the advanced administration for the OSX Server:
    https://help.apple.com/advancedserveradmin/mac/3.1/#apd6D7FE39D-32AA-400C-91E1-5 0ABC15655C8
    This pretty easy way of connecting your server to the Windows server should give AD users access to OD services. That will be a good start.
    Read up on this as well:
    http://support.apple.com/kb/PH15469
    Do you want to import them all or just the Mac users?
    Goodluck!
    Jeffrey

  • Moving mail files from one Mac to another

    I have my most complete Mail files on my MacBook, with e-mails going back several years. I want to copy all this data into Mail on my Mac Pro. Both computers are running OS 10.5.7.
    Can these files be transferred through MobileMe? It would be a very large transfer.
    Can I move the files with a thumb drive? Where is the data located? In the Mail application?
    Thanks in advance!

    quit mail on both computers and copy the folder /users/username/library/mail and the file /users/username/library/preferences/com.apple.mail.plist from the first computer to the second. then start Mail on the second computer and it will look exactly as it did on the first one.

  • Adding mail users from Portal 'sign me up' facility

    When users access the Portal for the first time, they have the opportunity to sign up as new users.
    This will create their user id and they can then access IM or Calendar quite happily.
    They can't, however, access mail. Adding mail users appears only to be possible via the command line tools. This essentially means that it's not practical to have users sign themselves up!
    Is there any integration module/howto out that describes how to let users sign up to mail and the other services and not just an inconvenient subset?

    If you create a Mail service (have a look at the sample one provided with Identity Server 6.1 in /opt/SUNWam/samples/integration) you can specify default values for the relevant attributes, then specify that the service you create is a required service in the organization your users area being created in.
    Haven't tried it myself but it should work.
    --Stephen                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Moving Mail Items from Outlook through VBA to PST files

    Can anyone help me to move mail item (from Inbox) to PST files using VBA?
    Can this be achived?

    Per our support engineer:
    This Visual Basic for Applications (VBA) example uses GetDefaultFolder to return the MAPIFolder object that represents the default folder. It then uses the Find and FindNext methods to find all messages sent by Dan Wilson and uses the Move method to move all e-mail messages sent by Dan Wilson from the default Inbox folder to the Personal Mail folder. To run this example without any errors, replace 'Dan Wilson' with a vaid sender name and make sure there's a folder under Inbox called 'Personal Mail'. Note that myItem is declared as type Object so that it can represent all types of Outlook items including meeting request and task request items.
    Sub MoveItems()
             Dim myOlApp As New Outlook.Application
             Dim myNameSpace As Outlook.NameSpace
             Dim myInbox As Outlook.MAPIFolder
             Dim myDestFolder As Outlook.MAPIFolder
             Dim myItems As Outlook.Items
             Dim myItem As Object
             Set myNameSpace = myOlApp.GetNamespace("MAPI")
             Set myInbox = myNameSpace.GetDefaultFolder(olFolderInbox)
             Set myItems = myInbox.Items
             Set myDestFolder = myInbox.Folders("Personal Mail")
             Set myItem = myItems.Find("[SenderName] = 'Dan Wilson'")
             While TypeName(myItem) <> "Nothing"
                     myItem.Move myDestFolder
                     Set myItem = myItems.FindNext
             Wend
    End Sub
    If you use Microsoft Visual Basic Scripting Edition (VBScript) in a Microsoft Outlook form, you do not create the Application object, and you cannot use named constants. This example shows how to perform the same task using VBScript code.
    Set myNameSpace = Application.GetNameSpace("MAPI")
    Set myInbox = myNameSpace.GetDefaultFolder(6)
    Set myItems = myInbox.Items
    Set myDestFolder = myInbox.Folders("Personal Mail")
    Set myItem = myItems.Find("[SenderName] = 'Dan Wilson'")
    While TypeName(myItem) <> "Nothing"
        myItem.Move myDestFolder
        Set myItem = myItems.FindNext
    Wend
    ==================================
    And here is another Sample code you can refer
    Outlook VBA Code. Move old mails from Send to an archive PST
    http://blogger.xs4all.nl/borstr/archive/2006/02/09/77804.aspx
    -brenda (ISV Buddy Team)

  • Move user files and preferences to new open directory log in

    I have a machine that I have been using for a few months. I log in to the machine as an admin user. We just put in a new MAC OS X server and are going to be using Open Directory and probably Mobility on the users.
    Is it possible to move or duplicate current state (preferences, passwords, bookmarks, email, etc.) of my computer to a new Open Directory log in on the same computer. If i can what is going to be the easiest way.
    Both the sever and my machine are 10.5.6.

    If you're logged into the old drive, select GO from the FInder menu while holding the option key down. Select Library from the submenu. This is your Home Library.
    The Mail folder will contain all accounts, mailboxes, and account preferences.
    The Mail application preferences will be stored in the Preference folder.
    For "what files you need" , that depends on what you're trying to accomplish. What are you trying to do?

  • Authenticate windows users accessing os x client using open directory?

    I need to setup an OS X client machine (10.4.6) so that windows users (XP) can access folders based on their open directory credentials. (Using OS X server, open directory, windows PDC). If I turn on windows sharing in system preferences on the mac, it will only share local home folders to users with local accounts - not what I need. Any ideas? thanks.

    Thanks!  So now I see Open Directory, but it seems like it should be listed under the Server app with all the other services...
    Anyhow, I seem to remember a way to administer the users and groups.  This app shows me the status of the services, logs, settings.  The Server app, if I click on Add Users button, then click "connect to it" to supposedly connect to the directory server, it won't take my credentials.  I always get "Cannot authenticate to server.  Please authenticate by entering the name and password of a user account in this server's directory."
    Connect anonymously doesn't seem to do anything, it doesn't even dismiss the dialog.
    So what am I missing?

  • Problems with Active Directory Users showing as not found in Open Directory work group manager

    I’m running a golden triangle setup with Open directory assigning group policy and authentication provide by active directory. In workgroup manager I can search through the AD and add users or computers to groups in OD workgroup manager. However when I save and refresh the users or computer appear as ‘not found’. Is there a reason for this?

    Hi Zero
    It's very reassuring to know im not the only one having issues with this..
    Im on my second re install of the server.. I like you have no wish to do another clean install as everything else is connected and it seems like the answer is probably very simple.
    So today im going to re- run the terminal commands as layed out in the online guides.
    However i was kinda hoping someone would be able to supply us with an answer.
    thanks
    J

  • How to set permissions IN Open Directory USING Open Directory groups?

    Hi all,
    Apologies if I've missed this but have been searching for two days trying to figure out how to delegate permissions within the OD to a number of different OD groups and i can't seem to find any way to do this either at the command line or with WGM.
    Examples: an OD group containing those who will manage the full directory need to have permissions on all containers, child objects, and their attributes in the directory. For this one in particular I seem to be able to nest a group in the default Admin group, but this isn't really what i'm after. I need to create OD groups with the ability only to manipulate objects of class apple-computer and similarly, apple-user (really all inetOrgPerson objects). In a nutshell: how do i set permissions on specific attributes or object classes using OD groups?
    thanks for any pointers...
    -andrew

    I think i just answered my own question: Open Directory is OpenLDAP. slapd is all i need.

Maybe you are looking for

  • ITunes 9 does not work when opened.

    I first installed iTunes at iTunes 8, but when I upgraded it to iTunes 9, it started having problems. At first, it was running smoothly, but now, whenever I open it, iTunes freezes, and if I try to close it, my computer always keeps saying it is not

  • Safari hangs and goes blank on my ipad

    when i go to any bookmark or type in a www it hangs for a few seconds then shows a blank page? tried rebooting and removing from tool bar, help please

  • How to set up e-mail in Mavericks?

    I have been having random problems with Mail since I switched to 10.9 The problem seems to be mainly with outgoing mail. Her are the errors I get: Then, when I select the highlighted button, I get: I think that I might like to completely wipe out all

  • Making a vector shape from a design

    Hello all, I've been a very casual photoshop user for years, and know the basics of the program. However I'm a bit stumped with a current task. I recently had a friend do a single color shape-based logo design for my band. I love what he came up with

  • Firefox 4 doesn't support mac os 10.4.11, when will it be available? i can't afford a new os system.

    this is what i'm getting when i try to use yahoo news: Sorry, Bad Request. Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit.