locked
Exchange 2007 no mail delivery inside or outside. Messages moved to Sent Items RRS feed

  • Question

  • After a power outage and a database repair we can no longer send messages to inside or outside recipients. When you hit send it goes to the outbox for a moment then moves to sent items. A journal search shows no record of the message. No messages in the event viewer even though verbose logging is enabled in send connector. Have removed and reinstalled the transport hub. Incoming email works fine.

    Have also tried sending messages via OWA and Mobile devices. This issue is affecting all mail users.

    test-mailflow -targetemailaddress shows failure but no further information and no errors in the event logs.

    Small Biz Server 2008, Exchange 2007 SP1

    Have spent much time doing google searches to no avail.

    TIA-

    Mike
    Friday, July 3, 2009 6:53 PM

All replies

  • I should also mention that the messages are not stuck in the queue.
    Friday, July 3, 2009 11:39 PM
  • ~ What message tracking shows?

    Amit Tank | MVP – Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com RSS

    Monday, July 6, 2009 4:47 AM
  • Hi Mike,

    Please let me know:

    1. Whether any NDR messages are received regarding the issue.
    2. If you use OWA to send message, whether the message is also moved from Draft/Outbox folder to Sent Items folder or stuck in Draft/Outbox folder
    3. Whether you are able to locate the message by using Message Tracking Tool
    4. Whether any related error Event can be found on Application log regarding the issue
    5. Please ensure the Exchange Mail Submission service has been started on the Mailbox Server Role

    Mike
    Monday, July 6, 2009 6:11 AM
  • Mike-

    1. there are no NDR's
    2. System acts the same wether using OWA of full outlook client (mapi). The items appear in the outbox for a second the move to the sent itemsa like everything was ok.
    3. Using the message tracking tool I can find no evidence of any outbound emails since the database rebuild. I can find the previous to that but nothing afterward.
    4. There are no exchange related error messages the I can find except for the following which appears every 15 minutes. 
    Log Name: Application Source: MSExchange Assistants Date: 7/6/2009 10:23:14 AM Event ID: 9040 Task Category: Assistants Level: Error Keywords: Classic User: N/A Computer: SBS2008.ionnetworking.local Description: Service MSExchangeMailboxAssistants. An error has been detected due to this exception: Microsoft.Exchange.Assistants.AIGrayException ---> Microsoft.Exchange.Common.GrayException ---> Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable to get watermarks for consumer df4b5565-53e9-4776-a824-185f22fb3ca6 (hr=0x80004005, ec=-1515) Diagnostic context: Lid: 1494 ---- Remote Context Beg ---- Lid: 22257 StoreEc: 0xFFFFFA15 Lid: 30449 StoreEc: 0xFFFFFA15 Lid: 3910 StoreEc: 0xFFFFFA15 Lid: 13538 StoreEc: 0xFFFFFA15 Lid: 2342 StoreEc: 0xFFFFFA15 Lid: 2598 StoreEc: 0xFFFFFA15 Lid: 13648 StoreEc: 0xFFFFFA15 Lid: 2031 StoreEc: 0xFFFFFA15 Lid: 32345 StoreEc: 0xFFFFFA15 Lid: 1750 ---- Remote Context End ---- Lid: 28265 StoreEc: 0xFFFFFA15 at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Object objLastErrorInfo) at Microsoft.Mapi.MapiEventManager.GetWatermarks(Guid guidMailbox, Boolean fAll) at Microsoft.Mapi.MapiEventManager.GetWatermarks() at Microsoft.Exchange.Assistants.EventAccess.<>c__DisplayClass1.<GetWatermarks>b__0() at Microsoft.Exchange.Assistants.EventAccess.CallEventManager(EventManagerFunction function) at Microsoft.Exchange.Assistants.EventAccess.GetWatermarks() at Microsoft.Exchange.Assistants.EventController.Start() at Microsoft.Exchange.Assistants.OnlineDatabase.Start() at Microsoft.Exchange.Assistants.Util.<>c__DisplayClass2.<CatchMeIfYouCan>b__0() at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate) --- End of inner exception stack trace --- at Microsoft.Exchange.Common.GrayException.ExceptionCatcher(Object exception) at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate) at Microsoft.Exchange.Common.GrayException.MapAndReportGrayExceptions(UserCodeDelegate tryCode) at Microsoft.Exchange.Assistants.Util.CatchMeIfYouCan(CatchMe function) --- End of inner exception stack trace --- at Microsoft.Exchange.Assistants.Util.CatchMeIfYouCan(CatchMe function) at Microsoft.Exchange.Assistants.Base.CatchMeIfYouCan(CatchMe function). Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="MSExchange Assistants" /> <EventID Qualifiers="49156">9040</EventID> <Level>2</Level> <Task>1</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2009-07-06T14:23:14.000Z" /> <EventRecordID>15606529</EventRecordID> <Channel>Application</Channel> <Computer>SBS2008.ionnetworking.local</Computer> <Security /> </System> <EventData> <Data>MSExchangeMailboxAssistants</Data> <Data>Microsoft.Exchange.Assistants.AIGrayException ---&gt; Microsoft.Exchange.Common.GrayException ---&gt; Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable to get watermarks for consumer df4b5565-53e9-4776-a824-185f22fb3ca6 (hr=0x80004005, ec=-1515) Diagnostic context: Lid: 1494 ---- Remote Context Beg ---- Lid: 22257 StoreEc: 0xFFFFFA15 Lid: 30449 StoreEc: 0xFFFFFA15 Lid: 3910 StoreEc: 0xFFFFFA15 Lid: 13538 StoreEc: 0xFFFFFA15 Lid: 2342 StoreEc: 0xFFFFFA15 Lid: 2598 StoreEc: 0xFFFFFA15 Lid: 13648 StoreEc: 0xFFFFFA15 Lid: 2031 StoreEc: 0xFFFFFA15 Lid: 32345 StoreEc: 0xFFFFFA15 Lid: 1750 ---- Remote Context End ---- Lid: 28265 StoreEc: 0xFFFFFA15 at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Object objLastErrorInfo) at Microsoft.Mapi.MapiEventManager.GetWatermarks(Guid guidMailbox, Boolean fAll) at Microsoft.Mapi.MapiEventManager.GetWatermarks() at Microsoft.Exchange.Assistants.EventAccess.&lt;&gt;c__DisplayClass1.&lt;GetWatermarks&gt;b__0() at Microsoft.Exchange.Assistants.EventAccess.CallEventManager(EventManagerFunction function) at Microsoft.Exchange.Assistants.EventAccess.GetWatermarks() at Microsoft.Exchange.Assistants.EventController.Start() at Microsoft.Exchange.Assistants.OnlineDatabase.Start() at Microsoft.Exchange.Assistants.Util.&lt;&gt;c__DisplayClass2.&lt;CatchMeIfYouCan&gt;b__0() at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate) --- End of inner exception stack trace --- at Microsoft.Exchange.Common.GrayException.ExceptionCatcher(Object exception) at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate) at Microsoft.Exchange.Common.GrayException.MapAndReportGrayExceptions(UserCodeDelegate tryCode) at Microsoft.Exchange.Assistants.Util.CatchMeIfYouCan(CatchMe function) --- End of inner exception stack trace --- at Microsoft.Exchange.Assistants.Util.CatchMeIfYouCan(CatchMe function) at Microsoft.Exchange.Assistants.Base.CatchMeIfYouCan(CatchMe function)</Data> </EventData> </Event>

    5. The mail submission service is started.

    I have enabled loggin on the Send connector
    Monday, July 6, 2009 2:31 PM
  • Amit-

    Message tracking shows no messages submitted or delivered after the issue began.
    There are no transport rules listed at all.


    Here are hte results of the ExBPA test

    All Issues
    Warning Certificate principal mismatch :
    The principal for SSL certificate 'https://ionnetworking.local' does not appear to match the host address. Host address: ionnetworking.local. Principal: CN=remote.IonNetworking.com.
    arrow Tell me more about this issue and how to resolve it.
     
    Organization: First Organization
     
    Best Practices Junk store threshold not configured Organization: First Organization
    Junk Store threshold is currently configured to move messages to recipient's Junk folder when they have a Spam Confidence Level (SCL) value of 8. This is the default value for the Junk Store threshold. However, the recommended value is 4. You can configure SCL thresholds by using the Set-OrganizationConfig cmdlet in the Exchange Management Shell.
    arrow Tell me more about this setting.
     
    Admin Group: Exchange Administrative Group (FYDIBOHF23SPDLT)
     
    Server: SBS2008
     
    Error Database backup critical Server: SBS2008
    Database 'Public Folder Database' on server SBS2008 has never had a full online backup.
    arrow Tell me more about this issue and how to resolve it.
     
    Warning Incorrect application pool is selected Server: SBS2008
    The application pool 'SBS Web Applications application pool' is selected for virtual directory '/LM/W3SVC/3/ROOT/OAB' on server SBS2008.ionnetworking.local. It's recommended that you select application pool: 'DefaultAppPool'. Please go into Internet Information Services (IIS) Manager and select the correct application pool.
     
    Warning Microsoft Filter Pack not installed Server: SBS2008
    Microsoft Filter Pack is not found on server SBS2008.ionnetworking.local. It is recommended that you install Microsoft Filter Pack on server SBS2008.ionnetworking.local so that Exchange Search can index and search Microsoft Office 2007 attachments.
     
    Warning Disable MAPI clients warning Server: SBS2008
    Some versions of MAPI clients are blocked on server SBS2008.ionnetworking.local. Verify that version '6.x.x.x' and version '8.x.x.x' clients are not blocked as the Microsoft Exchange System Attendant process uses these version identifiers for performing server functions. Current MAPI blocking setting: 0.0.0-5.3164.0.
    arrow Tell me more about this issue and how to resolve it.
     
    Best Practices Exchange resident on global catalog server Server: SBS2008
    Exchange server SBS2008.ionnetworking.local is also a global catalog server. This is a supported configuration, but is not recommended.
    arrow Tell me more about this setting.
     
    Best Practices Crash upload logging disabled Server: SBS2008
    Exchange fatal error information on server SBS2008.ionnetworking.local is not automatically sent to Microsoft for analysis. It is recommended that you enable this feature through the Exchange System Manager.
    arrow Tell me more about this setting.
     
    Best Practices Firewall is enabled Server: SBS2008
    Windows Firewall is enabled on server SBS2008.ionnetworking.local. Ensure that the ports required for client connectivity are accessible.
    arrow Tell me more about this setting.

    Monday, July 6, 2009 2:40 PM
  • Hi Malgandalf,


    As we know that Edge transport server is responsible for all outgoing & incoming mails & also an Hub transport server handles mails by routing them to next hope i.e. another Hub Transport server, Edge transport server or Mailbox server.

    So, first check the status of Edge transport server & if you do not find any log or nothing just restore it through last backup performed.

    After ET server, as you have describe that HT server is reinstalled there is no need to check for log just check the status.

    Check the connectivity across firewall of Edge Transport server & Hub Transport server as Edge Transport server resides in DMZ.

    This will might help you a lot. This is not an solution but still you must do it.

    Thanks. Ajit D.



    Monday, July 6, 2009 2:56 PM
  • This is a standard SBS install, there is no edge transport server installed.
    Monday, July 6, 2009 3:19 PM
  • Hi Mike,

     

    Thanks for your response.

     

    From your description, I understand that the message cannot be located by using Message Tracking log. In addition, in OWA, the message is also moved to sent item folder.

     

    Based on my knowledge, the message should be submitted to Submission Queue before the message is moved from Outbox to Sent Items folder. If the message has been submitted to Submission Queue, we should be able to locate the message through Message Tracking log.

     

    For your reference:

     

    21 Pfd   2009/07/08-10:32:34.979 2520 3908 StoreDriver MapiSubmit PFD ESD 25499 Submitting mailitem 1 to the submit queue

    22 Debug  2009/07/08-10:32:34.989 2520 3908 StoreDriver MapiSubmit Move message from outbox

     

    Therefore, it is strange that the message is moved to the Sent Items folder but cannot be located in message tracking log. I suggest you firstly check whether the message tracking has been enabled on the Exchange Server by using following command. By default, it should be enabled.

     

    Get-TransportServer servername |fl

     

    If the Message Tracking log has been enabled, I suggest you create a new Mailbox Store and create a test mailbox in the new mailbox store to check whether the issue can be reproduced.

     

    If the issue still occurs, I would like to explain that we need to capture trace to check when the issue occurs:

     

    1. Run Extra

    2. Select Trace Control

    3. Select Set manual trace tags

    4. Select all Trace Types

    5. Select following Components to Trace:

     

    StoreDriver: All trace tags

    Transport: General, Queuing, Resolver and Routing

     

    5. Click Start Tracing.

    6. Please send a message by using OWA. After the message is moved to Sent Items, please wait about 5 minutes and stop trace. Please send the trace file to me at v-mishen@microsoft.com for further research. Please also let me know the exact time you send the message. Please also let me know the sender and recipient name and email address.

     

    Mike

     

     

    Wednesday, July 8, 2009 7:13 AM
  • Hi,

    Was this problem resolved?
    Our exchange server had the exact same problem - power outage - and excactly same symptoms..

    E-mails sent using outlook 2007 goes into sent box, but no one inside or outside recieves it.
    E-mails sent using owa gets stuck in drafts..
    Monday, October 12, 2009 3:22 PM
  • same here on SBS 2008 x64

    E-mails sent using outlook 2007 goes into sent box, but no one inside or outside recieves it.
    E-mails sent using owa gets stuck in drafts..

    no tracking information, MS Exchange BPA reports:

    "\MSExchangeIS Postfach\Für die Übermittlung in Warteschlangen eingereihte Nachrichten" ist nicht in Bearbeitung
    Test-MapiConnectivity on First Storage Group\Mailbox Database fails

    Performance indicators for "MSExchange IS Mailbox" can not be accessed

    Tuesday, October 27, 2009 12:59 AM
  • After 3 weeks, we was able to fix it. The Exchange Transport service wasn't able to connect to Exchange Database service, because in the system32\drivers\etc\host file had the wrong IP / host included. The power outage was a coincidence.
    Tuesday, October 27, 2009 1:11 AM
  • What should be in that Hosts file then? I only have:

    127.0.0.1 localhost
    ::1 localhost


    Many thanks for your time.
    Saturday, October 16, 2010 5:21 PM