Exchange 2007

Anything interesting and related to Microsoft Exchange 2007

  • Exchange 2007,  Exchange 2010,  Microsoft Exchange

    E-Mail delivers to Deleted Items folder

    We had a shared mailbox where all the mail sent to the mailbox delivered to the deleted items folder. To resolve this do the following: 1. Open Exchange Management Shell 2. Type Get-CalendarProcessing “mailboxname” | fl and press enter 3. If AutomateProcessing shows AutoAccept in the returned results then run the next cmdlet 4. Set-CalendarProcessing “mailboxname” -automateprocessing none 5. Wait for replication and check that Get-CalendarProcessing “mailboxname” | fl shows that it’s set to :none We verified after running the above that mail delivered to the mailbox deliveres to the Inbox as expected.    

  • CCR,  Exchange 2007,  Microsoft Exchange

    Microsoft Exchange Replication Service Starts and then Stops

    We had an Exchange 2007 CCR cluster where the passive node databases stopped seeding. After some investigation we noticed that the Exchange Replication Service starts and a second or two later stops. The event log did not give us much information, only stating that the service started and stopped again. We checked all the databases on the passive node and noticed that they were in a dirty shut down state as the logs stopped replaying to the database a few days earlier. Resolution that worked for us: 1. Move each database to a new folder on the disk that it resides. 2. Start the Exchange Replication Service. (We monitored the…

  • Active Directory,  Exchange 2007,  Microsoft Exchange

    E-mail address strikethrough in Exchange 2007

    We had a problem when our provisioning system would not update the “managed by” property for a distribution list. Further investigation showed that the distribution list’s e-mail address had a strike through like this: (Seen in the DL’s properties using EMC) email@company.com We could not add a new smtp address to the group nor delete the current address. We then opened ADSIedit to have a more in depth look. We then noticed that the SMTP address in proxyAddresses had a space before the @ in the SMTP address. We rectified that and the strikethrough disapeared. We made the changes and managed to provision the DL without any problems.

  • Exchange 2007,  Exchange Management Shell,  Microsoft Exchange

    Deleting disconnected Mailboxes in Exchange 2007

    Purging disconnected mailboxes in Exchange 2003 was quick and easy. With Exchange 2007 you need to use the Exchange Management Shell to purge/delete the disconnected mailboxes. Below are some examples on how to delete disconnected mailboxes in Exchange 2007. Make sure that you need to delete the disconnected mailboxes as it’s easier to reconnect a disconnected mailbox if a user account and mailbox got deleted by accident. Delete a specific disconnected mailbox: 1. Get-MailboxDatabase (this will show you  the database names) 2. Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid (view the user’s GUID here) 3.  Remove-Mailbox -Database “Type Your Database Name Here“ -StoreMailboxIdentity Type the Users Mailbox GUID Here -confirm:$false…

  • Autodiscover,  Exchange 2007,  Microsoft Exchange,  Outlook,  Outlook 2007,  Outlook 2010,  Outlook 2013

    Out of Office not working – Using Exchange Autodiscover Redirect

    Had an interesting one today with a bit of a lesson at the end of the article. Scenario: Users are able to connect to Exchange with Outlook, send and receive mails etc. Users are however unable to set up their Out of Office using Outlook but they are able to set it using Outlook WebApp. We have a hybrid Exchange environment with 2010 and 2007 CAS servers. In the back-end we are running an Exchange 2007 CCR Cluster. Past troubleshooting with regards to Out of Office not working has taught me to check and test autodiscover. I bet that the OAB is also not downloading? I ran the normal checks…

  • Exchange 2007,  Exchange 2010,  Exchange 2013,  Microsoft Exchange

    Meeting requests sent to a room mailbox, replaces the Subject, with the Senders name

    We received a call today where a meeting request sent to a Room mailbox shows the meeting organiser’s name in the subject line. This can be rectified by running the following: Exchange 2010/2013: Set-CalendarProcessing -identity “meeting room name” -DeleteComments $true -AddOrganizerToSubject $true -DeleteAttachments $true -DeleteSubject $true Exchange 2007: set-mailboxcalendarsettings -identity “meeting room name” -deletesubject $false -addorganizertosubject $false Hope this makes your life a bit easier.

  • Autodiscover

    OoO not working because AutoDiscover does not work

     1     First: Always check Certificates and DNS     1.1 Check if your certificates are configured correctly and if they have expired.   Open the Exchange Management Console and run: Get-ExchangeCertificate | fl Review your certificates and ensure that they have not expired 1.2 Check DNS   A good way to test DNS is using NSLOOKUP. Open cmd and type nslookup and hit enter. (In our case we need to run nslookup to our client’s autodiscover address to test redirection as we user autodiscover redirect.)   Type autodiscover.yourdomain.com (or .net etc.) this should return with the redirect address as per below screenshot.              …

  • Certificates

    Renewing TLS Certificate on a Hub Transport Server

    I received an event today advising me that the local TLS certificate has expired and needs to be renewed. Here is the event info. We need to renew this Certificate otherwise mailflow in Exchange 2007 will stop working. To do this open Exchange Management Shell and type the following: Get-ExchangeCertificate | fl You will be presented with all the certs installed on the server. You need to now find the cert that has expired. An example of an expired cert is: AccessRules        : {System.Security.AccessControl.CryptoKeyAccessRule, System                      .Security.AccessControl.CryptoKeyAccessRule, System.Securi                      ty.AccessControl.CryptoKeyAccessRule} CertificateDomains : {XXXX01, XXXX01.domainname.local} HasPrivateKey      : True IsSelfSigned       : True Issuer             : CN=SERVER01 NotAfter           : 2010/12/28 09:33:12 AM NotBefore          : 2009/12/28 09:33:12…

  • Exchange 2007

    How to setup Autodiscovery on Exchange 2007

    This is how to setup Autodiscover for Exchange 2007 after the trusted certs have been setup: Create an AutoDiscover DNS Record on you DC – Open t DNS Manager. – Expand Forward Lookup Zones then expand domain.xx – Right-click domain.xx and select New Host(A) – Type autodiscover and the IP Address of the Exchange 2007 server, then click on add. – Click OK then click Done. Configure Exchange 2007 Server – On the Exchange server open Exchange Management Shell – Type the following:  Set-OutlookProvider –id exch –ssl:$true and press Enter. – Then type the following: Set-OutlookProvider –id exch –server:servername and then press Enter.