Exchange 2003 NDR’s are sent a long time after email was sent.

The past two reboots (where the server has been offline for a while) has resulted in non delivery reports being sent back to some of the mailboxes for mail that was sent several weeks ago and that had not been reported as failed when the mail was initially sent.
The first time this happened I thought it was just one of those things, especially as I had not seen mail in the queue before rebooting the server. After the second occurrence I knew it was time to investigate.
SBSisyphus has a great posting including a link to the exchange2003 (sp2) patch that should fix the “kb950757 Email senders do not receive an indication that some messages have been held by Exchange Server 2003 until the SMTP service, The Microsoft Exchange Information Store service, or the Exchange server is restarted”. I applied it to my machine and I’ll have to see what happens.
For what it’s worth you do not need to reboot the server (unless wmiprvse.exe is running – but you get an option to kill this process if it is running before proceeding) but it will stop and start your mail and web services so don’t apply it during the day and it goes without saying that you should have a backup first.

Columbus Meetup on Vmware

I don’t know that much about vmware apart from loading up some virtual images in the vmware player some time ago. I’m more of a hyper-v fan currently, but thats mainly because it fits nicely onto my lab machine.
Anyway, tonight I’m off to the Techlife Columbus Meetup at the Buckeye hall of fame cafe to hear about VMWare courtesy of work. I’m looking forward to it as I should come away with some good tidbits of information and also get to go around the cafe as I’ve never been there before.
The Techlife Columbus group seems to be pretty active and has groups on LinkedIn and also allegedly on Facebook although the link to Facebook doesn’t work (there’s a surprise). Worth checking out to see if there are any social, training or networking events that would be of interest to you, your job or your career. Obviously if you don’t live in Columbus this particular group is unlikely to be of interest, but it would be worth looking to see if there are other groups in your area.

Incidentally my profile pages are here on linkedin and Facebook or you can check out my other networks from my retaggr page.

Unable to sync while offline.

Had a weird issue with a Palm device using Activesync. The device would not synchronise when the laptop pc was working offline. This functionality was fixed/improved in Activesync 4.5 but unfortunately the device was already at this version.
Eventually we found that going to the device and selecting Start > Settings > Connections > USB to PC and remove “Enable advanced network functionality” and then doing a sync worked fine.

Powershell script to retrieve list of emails from Exchange2007 in the past 24 hours.

As in my previous post I needed to obtain a list of emails that have gone through a mail server within the past 24 hours (so it can be run on a daily basis). I struggled with the code initially but ended up with the following.

$yesterday = (get-date).adddays(-1).tostring(“g”)
$rightnow = (Get-Date).ToString(“g”)
get-messagetrackinglog -Start $Yesterday -End $rightnow -EventID RECEIVE -Result size 5000| select-object EventID,Sender,@{name=’Recipients’;expression={[string]::join(“;”,($_.Recipients))}},MessageSubject,TimeStamp | export-csv receive.csv
get-messagetrackinglog -Start $Yesterday -End $rightnow -EventID SEND -Resultsize 5000| select-object EventID,Sender,@{name=’Recipients’;expression={[string]::join(“;”,($_.Recipients))}},MessageSubject,TimeStamp | export-csv send.csv

My next step is to automate this and send it via email

Backups may take some time to complete….

Day 86 - I may be some time. I needed to do a restore of some voicemails on a server and the calculations on how long it was going to take were slightly off as you can see from this screenshot – it actually got as far as 150 days before it reached the data on the file and started the restore off. Typically I have to do this when the voicemail server crashes (due to a power outage when it wasn’t on a reliable UPS). Everytime the server crashes I would have to restore 2 peoples voicemails (out of about 70 voicemail boxes). They are the only two who have their voicemail wiped and Avaya don’t care about the problem. What is weird is that this time the server had a controlled shutdown and not a sudden crash.
I sent the user this screenshot and told them it might take me a while but I’m working on it – they replied saying they didn’t think they had *that* many voicemails!