Pages

Showing posts with label Exchange. Show all posts
Showing posts with label Exchange. Show all posts

Thursday, June 24, 2010

How to install or upgrade the MAPI Interface Client and CDO 1.2.1

Overview

To install the Microsoft Exchange Server Messaging Application Programming Interface (MAPI) Client and Collaboration Data Object (CDO) 1.2.1 without Microsoft Exchange System Manager or the Microsoft Exchange Server MAPI Client and CDO previously installed, complete the following steps:

  1. Download ExchangeMapiCdo.EXE from www.microsoft.com.
  2. Double-click ExchangeMapiCdo.EXE to extract the ExchangeMapiCdo.MSI file.
  3. Double-click ExchangeMapiCdo.MSI to open the file and follow the prompts to install the Microsoft Exchange Server MAPI Client and CDO 1.2.1.
  4. Restart the BlackBerry Enterprise Server.

Important: Restarting certain BlackBerry Enterprise Server services delays email message delivery to BlackBerry smartphones. For more information, see KB04789.

Update a previous MAPI Client to Microsoft Exchange Server MAPI Client and CDO 1.2.1

To update to the Microsoft Exchange Server MAPI Client and CDO 1.2.1 from a MAPI client pack or Microsoft Exchange System Manager, complete the following steps:

  1. Download ExchangeMapiCdo.EXE from www.microsoft.com.
  2. Stop all BlackBerry Enterprise Server and Windows NT® services or processes that use the MAPI32.DLL file. For more information, see KB13718.
  3. Remove the Microsoft Exchange System Manager or the Microsoft Exchange Server MAPI Client and CDO's installed on the computer using the Add or Remove Programs tool in Control Panel.
  4. Locate the following files and rename them with the file extension .old:
    • MAPI32.DLL
    • EMSMDB32.DLL
    • EMSABP32.DLL
    • CDO.DLL
      • NOTE: If dealing with a 64-bit Operating System DO NOT modify the above files if located in the C:\Windows\SysWOW64 directory.
  5. Locate the fixMAPI.exe file in the System32 directory.
  6. Double-click the fixMAPI.exe file.
  7. Double-click ExchangeMapiCdo.EXE to extract the ExchangeMapiCdo.MSI file.
  8. Double-click ExchangeMapiCdo.MSI to and follow the prompts to install the Microsoft Exchange Server MAPI Client and CDO 1.2.1
  9. Start all the BlackBerry Enterprise Server services.
  10. Update the MAPI Profile by following:
For BlackBerry Enterprise Server 4.0, 4.1, and 5.0
  1. Go to Start > Programs > BlackBerry Enterprise Server > BlackBerry Server Configuration.
  2. On the BlackBerry Server tab, click Edit MAPI Profile
  3. Type the name of the Microsoft Exchange Server and the BlackBerry Enterprise Server service account mailbox name.
  4. Click Check Name.
  5. Click Apply > OK.

Important: Restarting certain BlackBerry Enterprise Server services delays email message delivery to BlackBerry smartphones. For more information, see KB04789.

Note: The Microsoft Exchange 2000 or Microsoft Exchange 2003 CD-ROM might be required in order to uninstall Microsoft Exchange System Manager. If the end user license agreement does not appear during installation of the Microsoft Exchange Server MAPI Client and CDO 1.2.1, or the MAPI32.DLL file is 600 KB or more, the Microsoft Exchange Server MAPI Client and CDO 1.2.1 did not install correctly. The installation appears to have completed successfully, but the Program Files\ExchangeMAPI directory is not installed and the MAPI client is not updated. This occurs if all of the MAPI files were not renamed with the .old file extension before installation.


Additional Information

To verify the successful installation of the Microsoft Exchange Server MAPI Client and CDO 1.2.1, complete the following steps:

  1. Verify that the ExchangeMAPI folder was created in the Program Files folder. The ExchangeMAPI folder contains a selection of .DLL files.
  2. In the BlackBerry Messaging Agent (MAGT) logs, verify the following [ENV] environment variables are reported:
    • [ENV] MAPI32.DLL: C:\Windows\System32\MAPI32.DLL, Version: 1.0.2536.0
    • [ENV] CDO.DLL: C:\Program Files\ExchangeMAPI\ Version: CDO.DLL, 6.5.8165.0
    • [ENV] EMSMDB32.DLL: C:\Program Files\ExchangeMAPI\ EMSMDB32.DLL, Version: 6.5.8165.0

Note: The file directories listed in the logs contain the version of the files, and the currently available version may be newer than what is listed above.

From http://www.blackberry.com/btsc/viewContent.do?externalId=KB15779&sliceId=1

Thursday, June 10, 2010

Adding Permissions to Exchange 2010 database

Run these two scripts to have permissions on the database level.

 

Get-MailboxDatabase | Add-ADPermission -User "changename" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin

 

Get-MailboxDatabase | Add-ADPermission -User "changename" -AccessRights ExtendedRight -ExtendedRights Send-As, ms-Exch-Store-Admin

Wednesday, June 09, 2010

Exchange 2010 and BESAdmin Permissions

Anytime you have a new Exchange 2010 server or add a new database to Exchange 2010, you will need to run the following. Note that each line needs to be run seperatley.

For Microsoft Exchange 2010
Click Start > Programs > Microsoft Exchange Server 2010 > Exchange Management Shell.
In the command prompt window, type the following two commands and then press Enter:

Get-MailboxDatabase Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin

Add-RoleGroupMember "View-Only Organization Management" -Member "BESAdmin"

Note: If you create a new mailbox database for Microsoft Exchange you will need to repeat step 2 for Microsoft Exchange 2010.

From

http://www.blackberry.com/btsc/viewContent.do?externalId=KB02276&sliceId=1

Monday, December 01, 2008

AV exclusion for MS Exchange

It is recommended to exclude the following folders from anti-virus scanning

M:\ (for MS Exchange 2000 only)
C:\Program Files\Exchsrvr\Mailroot
C:\Program Files\Exchsrvr\CONNDATA
C:\Program Files\Exchsrvr\MDBDATA
C:\Program Files\Exchsrvr\MTADATA
C:\Program Files\Exchsrvr\SCHEMA
C:\Program Files\Microsoft\Exchange Server\Mailbox (MS Exchange 2007)


Taken from and further readings:
http://support.microsoft.com/kb/245822/en-us
http://support.microsoft.com/kb/823166
http://support.microsoft.com/kb/328841
http://www.jacksontechnical.com/article.htm?id=16
http://www.avg.com/faq.num-1082#faq_1082
http://www.tech-archive.net/Archive/Windows/microsoft.public.windows.server.sbs/2007-12/msg01508.html
www.bitdefender.com/files/KnowledgeBase/file/BitDefender_Security_for_File_Servers_-_How_to_configure.pdf

Increase Exchange 2003 Storage Limits With ADSI

Exchange 2003 has a storage limites of 2GB or 2097151 KB by default. To get around this use Active Directory Services Interface (ADSI Edit) tool. ADSI Edit (adsidedit) is one of Windows Server 2003's support tools. Install the whole support tools package from the Server CD: \support\tools\supptools.msi. Once the two programs files adsiedit.dll and adsiedit.msc are installed, you also get a shortcut on the Start, Programs menu or you can use adsiedit.msc from the Run line.

Note if you copy adsiedit.dll manually then you need to paste into the 'path' for example C: \windows\adsiedit.dll. Then you need to register the dll with:
regsvr32 adsiedit. (If you install from supptools.msi there is no need for this extra step).

The following table displays the equivalent Active Directory attributes for the storage limit properties that are available in the Active Directory Users and Computers snap-in interface or in the Exchange System Manager interface.













Storage limit properties available in the GUIEquivalent attributes
Issue warning at (KB)mDBStorageQuota
Prohibit send at (KB)mDBOverQuotaLimit
Prohibit send and receive at (KB)td> mDBOverHardQuotaLimit


Modify the storage limits for a user's mailbox

To use the ADSI Edit tool to modify the storage limit values for a user's mailbox, follow these steps.

Note The following steps modify the limits for a user who is named User1.
  1. On a server that has the Windows Support Tools installed, open a command prompt.
  2. Move to the Drive_Letter:\Program Files\Support Tools folder.
  3. Type adsiedit.msc, and then press ENTER.
  4. On the Action menu, click Connect to.
  5. In the Connection Settings dialog box, type the name that you want to use for this connection in the Name box.
  6. In the Connection Point area, click Select a well known Naming Context, and then click Domain in the list.
  7. In the Computer area, click Select or type a domain or Server, and then type the FQDN of the server in the box. Alternatively, you can click Default (Domain or Server that you logged in to), if applicable.
  8. Click OK.
  9. Locate the CN=User1 object in the following path:
    Domain [Server_Name.Domain_Name]\DC=Domain_Name,DC=Root_Domain\CN=Users\
  10. Right-click CN=User1, and then click Properties.
  11. Click to select the Show optional attributes check box.
  12. In the Attributes list, double-click mDBOverHardQuotaLimit.
  13. In the Value box, type the value of the limit in kilobytes that you want to set, and then click OK. For example, to set a limit of 3 GB, type 3145728, and then click OK.
  14. Repeat steps 12 and 13 for any other attributes that are listed in the table in the "Active Directory attributes" section.
  15. Click OK to close the properties sheet for the User1 object.
  16. On the File menu, click Exit.

Modify the storage limits for a mailbox store
  1. On a server that has the Windows Support Tools installed, open a command prompt.
  2. Move to the Drive_Letter:\Program Files\Support Tools folder.
  3. Type adsiedit.msc, and then press ENTER.
  4. On the Action menu, click Connect to.
  5. In the Connection Settings dialog box, type any name that you want to use for this connection in the Name box.
  6. In the Connection Point area, click Select a well known Naming Context, and then click Domain in the list.
  7. In the Computer area, click Select or type a domain or Server, and then type the FQDN of the server in the box. Alternatively, you can click Default (Domain or Server that you logged in to), if applicable.
  8. Click OK.
  9. Click the CN=First Storage Group object in the following path:
    Configuration [Server_Name.Domain_Name]\DC=Configuration,Domain_Name,DC=Root_Domain\CN=Services\CN=Microsoft Exchange\CN=First Organization\CN=Administrative Groups\CN=First Administrative Group\CN=Servers\CN=Server_Name\CN=Information Store\
  10. Right-click CN=Mailbox Store (Server_Name), and then click Properties.
  11. Click to select the Show optional attributes check box.
  12. In the Attributes list, double-click mDBOverHardQuotaLimit.
  13. In the Value box, type the value of the limit in kilobytes that you want to set, and then click OK. For example, to set a limit of 3 GB, type 3145728, and then click OK.
  14. Repeat steps 12 and 13 for any of the other attributes that are listed in the table in the "Active Directory attributes" section.
  15. Click OK to close the properties sheet for the "Mailbox Store (Server_Name)" object.
  16. On the File menu, click Exit.



Taken from http://support.microsoft.com/kb/930366 and http://www.computerperformance.co.uk/w2k3/utilities/adsi_edit.htm