• Microsoft Exchange Server

    Exporting Mailboxes to PST From Exchange 2007

    I’ve written an article on doing this in 2010 but seemed to have skipped 2007, so here goes… The first step in exporting mailboxes is to make sure that the account you’re using to export mailboxes has permissions to do so. In this case, we’ll give the exportadmin account Import and Export options using the New-ManagementRoleAssignment cmdlet in Exchange 2010: New-ManagementRoleAssignment –Role “Mailbox Import Export” –User exportadmin Next, you’ll need a system with Outlook 2010 and the Exchange Management Tools installed. From here, you can export mailboxes into PST files. To do so,  run the Export-Mailbox cmdlet with the -Identity option to include the account name of  a user and…

  • Microsoft Exchange Server

    Selectively Import PST Files Into Outlook

    I’ve written plenty about exporting mailboxes from Exchange. But what if you need to perform a selective import into Outlook? This is helpful for importing mail in date ranges, using an import to search for terms (common with litigation holds) and importing contacts and calendars. To get started, click Open from the File ribbon. When prompted, click on Import/Export. At the Import and Export Wizard screen, click on “Import from another program or file” At the “Import a File” screen, click on “Outlook Data File (pst)”   At the Import Outlook Data File screen, choose the mailbox to import into and then click on the Filter button. Using the filtering…

  • Microsoft Exchange Server,  Windows Server

    Disable OWA Theme Selection In Exchange

    Outlook Web Access (OWA) allows administrators to setup themes. I’ve noticed a lot of people configuring custom OWA themes these days. And when they do, they are always annoyed when users change the theme back to the default. So, let’s disable theme selection using the set-owavirtualdirectory cmdlet. Here, we’ll do so on a server called krypted, on the default web site, for the default owa virtual directory using the -identity option. The option we’ll use is -themeselection enabled and we’ll set it to $false: set-owavirtualdirectory -identity "krypted\owa (default web site)" -themeselectionenabled $false To set it back, just swap $false for $true: set-owavirtualdirectory -identity "krypted\owa (default web site)" -themeselectionenabled $true

  • Microsoft Exchange Server,  Windows Server

    Redirecting Exchange Login Pages

    By default, when you require an SSL certificate in IIS on an Exchange server, if users hit the page without providing an https:// in front they will get an error. Rather than require certificates, it’s better in most cases to redirect unsecured traffic to a secured login page. In order to do so, first configure the redirect. To do so, open IIS Manager and click on the Default Web Site. At the bottom of the pane for the Default Web Site, click Features View if not already selected. Then open HTTP Redirect. Here, check the box for “Redirect requests to this destination” and provide the path to the owa virtual directory (e.g.…

  • Microsoft Exchange Server,  Windows Server

    Temporarily Disable Timeout Detection For Exchange 2010 and Up

    I’ve seen a number of cases where Exchange Information Stores are located on SANs. If you don’t have enough throughput you’re likely to see RPC request timeouts for the database, mailboxes or even a server. This typically correlates to Event IDs of 10025, 10026 and 10027. If a mailbox is having such problems then it will be quarantined. If you have this happen once or twice then it’s likely not that big of a deal. However, if it happens repeatedly then you’ve likely got a problem. These can be cumbersome to fix. So while you’re working on things, rather than have mailboxes go offline all the time, you can edit…

  • Microsoft Exchange Server

    Managing Role Assignments For Exchange In PowerShell

    When running mailbox exports, move requests, etc in Exchange 201x you might get an error. This is because the Management Role Assignments have changed ever so slightly. In order to provide an account the ability to do certain tasks, you can use the New-ManagementRoleAssignment powershell cmdlet to process a request. To do so, pick a user (in this case the username is kryptedadmin) using the -User option and choose roles to assign (in this case, mailbox, export and import) using the -Role option. The command then looks as follows: New-ManagementRoleAssignment -Role "Mailbox Import Export" -User kryptedadmin To see if your roles were properly applied: Get-ManagementRoleAssignment -Role "Mailbox Import Export" |…

  • Microsoft Exchange Server,  Windows Server

    What Exchange NDR Codes Mean

    One of the things that hasn’t changed in all these years with Exchange is Non-Delivery Reports. An NDR is an email that is sent when a message you send fails to go out. Exchange has had a consistent set of NDR status codes since version 5, just adding some here or there with changing technology (e.g. routing connectors, smarthosts, etc). Exchange has a lot of NDR codes at this point. I keep a little list running in my collection of files I spotlight to find the answer to recurring questions (which happens to always be 42). When an email bounces in Exchange, these codes explain why without having to be…

  • Mac OS X,  Mass Deployment,  Microsoft Exchange Server,  Windows Server

    How Exchange's Autodiscover Works With Mail.app

    Autodiscover automatically configures profile settings for Exchange clients. These clients include Microsoft Outlook 2007 or Outlook 2010, Outlook for Mac, Mail.app in Mac OS X, iPhone, iPad and ActiveSync enabled phones. Autodiscover is often made out to be complicated. There’s an Autodiscover service that gets installed when a Client Access Server (CAS) role is setup for Exchange 2010 in the form of a default virtual directory named Autodiscover for the default Web site in Internet Information Services (IIS). You then forward an autodiscover service locater record in DNS in the form of _autodiscover._tcp. The virtual directory handles Autodiscover requests. But what about other vendors, and even for Exchange, how do…

  • Articles and Books,  sites

    https://krypted.com/ Turns 7!

    Today, https://krypted.com/ turns 7. 9 books and almost 2,000 posts later, I seem to have slowed down a bit if you look at the last couple of months of postings. But I’ve been busy, just trying to get a few other projects finished, so I can get back to my normal writing-too-much self. These projects I’ve been wrapping up include: Writing Using Mac OS X Lion Server for O’Reilly (the final artwork for this one was turned in today) Converting https://krypted.com/ into a publishing company and putting out Time Machine in Mac OS X Lion, which should also be on the iBookstore soon Speaking at 4 or 5 conferences (MacWorld is…

  • Mac OS X,  Mass Deployment

    Lion: Configuring Out of Office Responses in Mail

    Out of Office responses to incoming email are an incredibly useful thing to have with any mail server. In Microsoft Exchange, these are sent by the server on behalf of each user when the user has enabled them. Out of Office messages can be configured using the Exchange web portal or using a standard mail client, which has up until now, usually be Outlook. In Lion, Apple has built in an Out of Office setting in Mail.app. To configure an Out of Office message using Mail in Mac OS X 10.7, first configure the Mail client to communicate with the Exchange server. Then open Mail.app from /Applications. Right-click on the name…