Skip to content

Importing pst to user mailbox via EAC

You might already know how to import pst from Outlook but your users might not know. Hence, as an administrator, this will be your job.

To make your life easier, I will show you how to import user pst from server side, without visiting user desk.

Before we begin, we need to dedicate permission to perform the task.

Assign Import/export permission to a role.

1:  Login to Exchange Admin Center.

2: Click on “Permissions” on the Left pane.

3: Select a role you want to assign the permission to, for example Help Desk.

4: Click on the pencil .

permissions1

5: The Help Desk role properties page will open. Click on the + sign under Roles.

permissions2

6: Scroll down and look for “Mailbox Import Export”, click Add and Ok to continue.

permissions3

7: Click Save to finish up.

Now, you would have permission to perform you task, let’s proceed to :

Importing the pst file.

8:  Click on Recipients on the left pane.

9: Click on Mailboxes tab.

10: Select the user whom you going to import the pst.

11: Click on the “…” and select Import PST

permissions4

12: Specify the path, if you store the pst file in c:\temp, the full path will be as follow :

permissions5

13:  Decide whether you want to import the pst to the main mailbox or archive. Click next to continue.

permissions6

14: Finally, you will be asked whether to send a notificaton when importing is complete.

This whole process will import mails, calenders, notes, tasks and etc to the mailbox.

15:  The notification will look like this :

Import PST has finished.
File: \\127.0.0.1\c$\temp\andrew.pst
Mailbox: john smith
Started by: andrew lum
Start time: 9/10/2013 6:42:57 PM
Run time: 00:00:56
Please don’t reply to this e-mail. It was sent from an unmonitored account.
That’s all folk, thanks for reading !
Advertisements

Migrating from legacy mail system ?

There are lot of tools which allow you to migrate from older mail system to Exchange. Most of them are not free, but there is 1 tool which i found very useful and it’s free.

Introducing Imapsync.

This is a Linux opensource tool, you need to download it, untar and install it.

The command will look like this:

imapsync --host1 123.123.123.13 --user1 john@contoso.edu.my --password1 Myp@ssw0rd -authmech1 LOGIN --host2 111.111.111.111 --user2 john.smith@wordpress.com --password2 Dtbqzgd6 -authmech2 PLAIN

to capture the log file :

imapsync --host1 123.123.123.13 --user1 john@contoso.edu.my --password1 Myp@ssw0rd -authmech1 LOGIN --host2 111.111.111.111 --user2 john.smith@wordpress.com --password2 Dtbqzgd6 -authmech2 PLAIN >  log6 2>&1 &

host1,user1,password1,authmech1 are compulsory fields, they denote the source. host2,user2,password2,authmech2 denote the destination.

Take note that the destination authentication method is “Plain Text”, hence in Exchange you need to change the method(imap) to plain and not SSL or TLS. I just migrated 700 users from surgemail and for surgemail authentication method, it will be “Login”.

After running the command, the result will either be failed or passed, here some examples :

Example 1-Passed:

++++ Statistics
Transfer started on               : Sat Jun  1 16:45:36 2013
Transfer ended on                 : Sat Jun  1 17:48:17 2013
Transfer time                     : 3760.5 sec
Messages transferred              : 2049
Messages skipped                  : 0
Messages found duplicate on host1 : 0
Messages found duplicate on host2 : 0
Messages void (noheader) on host1 : 0
Messages void (noheader) on host2 : 0
Messages deleted on host1         : 0
Messages deleted on host2         : 0
Total bytes transferred           : 463829614 (442.34 MiB)
Total bytes duplicate host1       : 0 (0.00 KiB)
Total bytes duplicate host2       : 0 (0.00 KiB)
Total bytes skipped               : 0 (0.00 KiB)
Total bytes error                 : 0 (0.00 KiB)
Message rate                      : 0.5 messages/s
Average bandwidth rate            : 120.5 KiB/s
Reconnections to host1            : 0
Reconnections to host2            : 0
Memory consumption                : 295.6 MiB
Biggest message                   : 19460824 bytes
Initial difference host2 – host1  : -2049 messages, -463829614 bytes (-442.34 MiB)
Final   difference host2 – host1  : -11 messages, -103207319 bytes (-98.43 MiB)
Detected 0 errors

Example 2-Failed:

log57:Failure: error login on [123.123.123.13] with user [john@contoso.edu.my] auth [LOGIN]: 2 NO login failed john@contoso.edu.my password wrong or not a valid user

Take note of the mentioned IP, the above example indicate the source ip, it could mean the password is wrong, the user dont exist or the account was suspended. Hence, please verify the source account.  If the ip is referring to the destination, check the account, unlock the password, reset the password if necessary.

That’s all for now, thanks for reading.

Exchange 2013 , POP , IMAP and SMTP

If you have problem sending mail for client who uses imap or pop , you need to configuring some changes on your Exchange 2013.

1: Select Client Proxy Connector and click on the Pencil

connector

2:  Tick Exchange users check box and Click save.

connector2

3: Under scoping, notice the listening port is 465.

connector scope

4: In Outlook, select TLS and port will be 465

outlook advance

5: Click on Test setting. The result will show completed.

testaccsetting

Exchange 2013 : Reset user password in ECP

Have you ever wanted to reset user password via ECP ? For Exchange 2010 and below, it is not possible, you have to login to server and do it.  But with Exchange 2013, you can reset user password via the browser, also known as EAC.

Let me introduce you the RBAC !

You heard of it, but have you ever use it? You should !

OK, let’s get started !

1:  Before you can add the “Reset Password” role, you need to install it. Let’s see if this role is installed by default :

Get-ManagementRole "reset password"
The operation couldn't be performed because object 'reset password' couldn't be found on 'VM-AD5.andrew.com'.
    + CategoryInfo          : NotSpecified: (:) [Get-ManagementRole], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : F1EF706,Microsoft.Exchange.Management.RbacTasks.GetManagementRole

Notice by default, this role is not installed.  Let's install it now.

2: 

  • Launch Exchange Management shell.
  • Type Add-pssnapin microsoft* and hit enter.
  • Type Install-CannedRbacRoles and hit enter.
  • Type Install-CannedRbacRoleAssignments and hit enter.
  • Close and relaunch EMS.

3:  Let’s verify.

Get-ManagementRole “reset password”

Name                                                    RoleType
—-                                                        ——–
Reset Password                                ResetPassword

If you performed step 2 correctly, you should see the new role.

4:  Now, we would like to add resetpassword role to Help Desk.

New-ManagementRoleAssignment -SecurityGroup “Help Desk” -Role “Reset Password”

(you can do this in ECP too)

5:  Next, open the EAC. For example https://yourcompany.com/ecp

6:  Click on permission, select a user and click edit.

7:  Viola !! You are done !

resetpass