Oct 23

If you are having problems with a certificate error internally due to your cert being signed only for the outside fqdn (example:  webmail.somedomain.com and internally is mailserver.somedomain.local) then take a look at this great blog post:

http://www.shudnow.net/2007/08/10/outlook-2007-certificate-error/

The above isn’t the only solution to the problem but a good one that works.

Some more links as well:

Jan 20

I ran into an issue yesterday which I feel is worth reporting so others can benefit.Our Exchange 2007 server began having 503 Service Unavailable errors when accessingthe Exchange virtual directory for owa legacy connectivity. Restarting the informationstore was something I didn’t want to do in the middle of the day and instead investigatesIIS. No application pools were hung or crashed, the even logs had nothing to supportthe issue, and the IIS Admin and HTTP SSL services were running correctly. I proceededto alter the permissions of the Exchange virtual folder through the WebDAV tab inthe Exchange Management Console to set it to forms authentication temporarily andthen set it back hoping to fix the issue. After a net W3SVC stop the service wouldn’tstart again. I received the following errors:

 

Event Type: Error
Event Source: W3SVC
Event Category: None
Event ID: 1005
Date:  1/19/2009
Time:  6:59:22 PM
User:  N/A
Computer: SOMENAME
Description:
The World Wide Web Publishing Service is exiting due to an error. The data field containsthe error number.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 80080005
 

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7024
Date:  1/19/2009
Time:  6:59:23 PM
User:  N/A
Computer: SOMENAME
Description:
The World Wide Web Publishing Service service terminated with service-specific error2148007941 (0×80080005).

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

It turns out the 0×80080005 is a common error for multiple services. The descriptionis as follows:

DESCRIPTION:
80080005 2148007941 CO_E_SERVER_EXEC_FAILURE: Server execution failed

 

Basically WMI wasn’t able to communicate through COM+ to initialize the service.

You can validate DCOM is working by looking at the Component Manager. If you systemhas a red down arrow on it then the service isn’t working correctly.

http://blogs.technet.com/askcore/archive/2008/05/09/troubleshooting-agent-deployment-in-data-protection-manager-2007-dcom.aspx

The final solution was a permissions error on the CSSID keyin the hive HKEY_CLASSES_ROOT.

Setting the permissions correctly then performing a reboot solved the problems.

Oct 07

1. Open the Exchange Management Shell

2. Use the following command:

Export-mailbox -id UserMailbox1 -IncludeFolders “\Sent Items”-TargetFolder ‘User1SentItems’ -TargetMailbox UserMailbox2

An example:

Export-mailbox -id JSmith -IncludeFolders “\Inbox\Dell” -TargetFolder’JSmithStuff’ -TargetMailbox KWoods

You can find many more ways to use Export-mailbox at:

http://msexchangeteam.com/archive/2006/11/28/431669.aspx

Feb 06

The Global Address List is tied to the Exchange 2007 Offline Address Book. You canset a schedule and force a refresh on it

Head to “Organization Configuration” then to “Mailbox” and click the “Offline AddressBook” tab. Right clicking on “Outlook OAB” will give you the option to “Update.” Youcan also right click and view the properties to set a custom update schedule. 

Nov 21

There’s a great and useful tool available for quick and easy imports and exports forActive Directory called CSVDE. This allows you to take an excel file of contacts,save it out as a CSV and then easily import into AD under a certain OrganizationalUnit.

This website http://www.computerperformance.co.uk/Logon/Logon_CSVDE.htm hastons of information on CSVDE.

A quick example:

From your DC open a command prompt and type csvde -f output.csv and you will get afull dump of your AD schema to the named csv file. This will also give you all theheaders you can use for importing.

Now lets say you want to import into an OU called “Apple” all the outside contactsfor that OU which you’ll later create an Address List in Exchange 2007 and add themto.

Create a CSV file with the following format:

DN,objectClass,displayName,proxyAddresses,targetAddress,mailNickname,mail,msExchPoliciesExcluded,company
“CN=Jim Smith,OU=Apple,DC=mydomain,DC=local”,contact,Jim Smith,SMTP:jim.smith@apple.com,SMTP:jim.smith@apple.com,JSmith,Jim.Smith@apple.com,{26491cfc-9e50-4857-861b-0cb8df22b5d7},Apple

The 26491cfc just corresponds to a checkbox selection for Exchange.

These will be created as Mail Enabled Contacts in the “Apple” organizationalunit in Active Directory. Save your file as myimport.csv

Open a command window and run csvde -i -f myimport.csv and violla!you’ve got contacts imported!

Now in Exchange 2007 you can go in to the Management Console andunder “Organization Configuration” click “Mailbox” and choose the “Address Lists”tab. Click “Add Address List.” As the selection criteria set it to “Contacts withexternal e-mail addresses” and then after hitting next choose a condition of “recipientis in a company” and click the underlined blue text to add the company name you providedin your csv file (we used Apple). Clicking next, next, and finish will process theaddress list.

Oct 02

If you receive the error “Unable to open your default e-mail folders. You must connectto your Microsoft Exchange Server computer with the current profile before you cansyncronize your folders with your offline profile” which persists across multiplecomputers with the same user then the user has attempted to connect too manytimes to the mail store and locked their store. Restarting the information store forExchange 2007 corrected the issue.