{"id":665,"date":"2008-04-26T11:53:18","date_gmt":"2008-04-26T18:53:18","guid":{"rendered":"http:\/\/thecyberwolfe.com\/blog\/?p=665"},"modified":"2012-10-17T10:00:42","modified_gmt":"2012-10-17T17:00:42","slug":"exchange-2003-mail-stuck-in-local-delivery-queue","status":"publish","type":"post","link":"http:\/\/thecyberwolfe.com\/blog\/2008\/04\/26\/exchange-2003-mail-stuck-in-local-delivery-queue\/","title":{"rendered":"Exchange 2003: mail stuck in local delivery queue"},"content":{"rendered":"<p>This one was a bitch, and since the closest thing I could find to a remedy online was to delete the store and create a new one (not bloody likely) I&#8217;ll publish the results of a call to MS Critical Support for the benefit of the masses.<\/p>\n<p>The problem was one user had almost 50 emails stuck in the local delivery queue. They could send email inside and out, but incoming would never get there. I believe the problem was a corrupted mailbox.<\/p>\n<p>To fix the user&#8217;s mailbox, I exported their account to a .pst using Exmerge. I then deleted the user&#8217;s mailbox and created a new one, adding back in all of their aliases. This got new mail flowing again without too much fuss. The mail in the local delivery queue, however, was still stuck.<\/p>\n<p>To get this going to the right mailbox, we had to &#8216;recategorize&#8217; the existing mail to the new mailbox.<\/p>\n<ol>\n<li>Stop the SMTP service.<\/li>\n<li>Open Regedit and navigate to the following key:<br \/>\nHKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\SmtpSvc<\/li>\n<li>Creat a subkey named &#8220;Queuing&#8221;<\/li>\n<li>Select Queuing and on right hand pane create new dword value with name &#8220;ResetMessageStatus\u00ef\u00bf\u00bd with value 1 in hexadecimal.<\/li>\n<li>Restart the SMTP service &#8211; check the queues and see if mail is being delivered. Also check the account mailbox at this point.<\/li>\n<li>Once all the mails are delivered to that user, stop the SMTP service and change the value for \u00ef\u00bf\u00bdResetMessageStatus\u00ef\u00bf\u00bd to 0 and start the SMTP service.<\/li>\n<\/ol>\n<p>That should do it. Seems simple, right? HA! I bashed on it for almost two hours, then called crit support and tech#1 bashed on it for an hour, then called in tech#2 who took another half-hour to come up with the registry fix. We still ended up losing a handful of emails, but that was because it took the user two full days to tell me something was wrong, and our queue alarm didn&#8217;t catch the problem.<\/p>\n<p>Which, of course, will be step 3 of this process&#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>*Update: comments closed due to excessive spam. Glad I could help all of you with this post.<\/p>","protected":false},"excerpt":{"rendered":"<p>This one was a bitch, and since the closest thing I could find to a remedy online was to delete the store and create a new one (not bloody likely) <a class=\"more-link\" href=\"http:\/\/thecyberwolfe.com\/blog\/2008\/04\/26\/exchange-2003-mail-stuck-in-local-delivery-queue\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3],"tags":[],"class_list":["post-665","post","type-post","status-publish","format-standard","hentry","category-geekery","category-work"],"_links":{"self":[{"href":"http:\/\/thecyberwolfe.com\/blog\/wp-json\/wp\/v2\/posts\/665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/thecyberwolfe.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/thecyberwolfe.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/thecyberwolfe.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/thecyberwolfe.com\/blog\/wp-json\/wp\/v2\/comments?post=665"}],"version-history":[{"count":2,"href":"http:\/\/thecyberwolfe.com\/blog\/wp-json\/wp\/v2\/posts\/665\/revisions"}],"predecessor-version":[{"id":1014,"href":"http:\/\/thecyberwolfe.com\/blog\/wp-json\/wp\/v2\/posts\/665\/revisions\/1014"}],"wp:attachment":[{"href":"http:\/\/thecyberwolfe.com\/blog\/wp-json\/wp\/v2\/media?parent=665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/thecyberwolfe.com\/blog\/wp-json\/wp\/v2\/categories?post=665"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/thecyberwolfe.com\/blog\/wp-json\/wp\/v2\/tags?post=665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}