locked
Email Router: Can goingout but Cannot Incoming. Need help RRS feed

  • Question

  • Hi all,

    I am facing problems issue when I try to configuration email router on CRM 4.0 Windows 2008R2.

    Goingout can work but I get error log at Event View.

    Other, especially the Incoming does not work. Pls see the img link and log as below.

     http://img339.imageshack.us/img339/2996/emailrouter.png 

     

    #26090 - An error occurred while opening mailbox crm-clkd@domain.com. System.Net.WebException: The remote server returned an error: (440) Login Timeout.
     at System.Net.HttpWebRequest.GetResponse()
     at Microsoft.Crm.Tools.Email.Providers.HttpDavRequest.SubmitXmlCommand(HttpWebRequest httpWebRequest, String body)
     at Microsoft.Crm.Tools.Email.Providers.HttpDavRequest.RetrieveInboxUri()
     at Microsoft.Crm.Tools.Email.Providers.ExchangeWebDavConnector.OpenMailbox()
     at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.InitExchangeConnector()
     at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.OpenMailbox()
     at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.Run()
    
    
    #61042 - An error occurred while processing the outgoing e-mail message with subject "Kiem tra email tu he thong cua sacomreal CRM:0002002" for SMTP: http://localhost/CRMSVR for delivery through mail.sacomreal.com. System.Net.Mail.SmtpException: Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender
     at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
     at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
     at System.Net.Mail.SmtpClient.Send(MailMessage message)
     at Microsoft.Crm.Tools.Email.Providers.SmtpPollingSendEmailProvider.ProcessMessageInternal(email emailMessage)
     at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.Run()
    
    #61042 - An error occurred while processing the outgoing e-mail message with subject "test email from sacomreal CRM:0002001" for SMTP: http://localhost/CRMSVR for delivery through mail.sacomreal.com. System.Net.Mail.SmtpException: Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender
     at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
     at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
     at System.Net.Mail.SmtpClient.Send(MailMessage message)
     at Microsoft.Crm.Tools.Email.Providers.SmtpPollingSendEmailProvider.ProcessMessageInternal(email emailMessage)
     at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.Run()
    

     

    Pls help us. Thank in advance.

    Regards,

    Vinh Nguyen

    Wednesday, December 1, 2010 2:21 AM

All replies

  • Hi Vinh,

    this look like a configuration issue with your email router or, more specifically, with the way your mail server is configured.

    These posts should help you started troubleshooting:

     

    In particular:
     If you have an error type HTTP 440 (Login Timeout)
    • This usually is due to not using Windows Authentication (only supported authentication method) but Forms Based Authentication. You need to change the authentication mode to Windows Authentication on the Mailbox Server . http://support.microsoft.com/kb/954047 ,
    • Make sure to point the Incoming Profile to the Exchange server with the mailbox server is and where the ExAdmin and Exchange virtual directories are.

    You can also check this: http://blog.networkfoo.org/?p=195

    The outgoing issue seems to be related to permissions of the account configured in outgoing profile as discussed here.

    Hope this helps.

    --


    George Doubinski, MVP http://crm.georged.id.au
    Wednesday, December 1, 2010 6:22 AM
    Moderator
  • Hi George,

    Could you pls give me your email address ?
    The issue still does not fix already, Need your kindly helps

    Regards,

    Vinh Nguyen

    Thursday, December 2, 2010 5:34 AM
  • Vinh,

    Unfortunately, I don't provide community assistance outside of public channels, hope you understand.

    You have not given us any additional information as to what have you tried from the links I've mentioned and what did not work.

    If you provide more information, e.g. parts of your configuration XML file where outgoing and incoming profiles are defined, someone on this forum will be able to assist you.

    Regards,

    --

     


    George Doubinski, MVP http://crm.georged.id.au
    Thursday, December 2, 2010 5:42 AM
    Moderator
  • Hi George,

    I do on Exchange 2007, following the url http://support.microsoft.com/kb/954047 as you guide. But I can not find "Form Authentication" in IIS

    Event View on CRM server:

    #26234 - The E-mail Router service could not process a provider work item using assembly: Microsoft.Crm.Tools.EmailProviders.dll and class: Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider. System.Threading.ThreadAbortException: Thread was being aborted.
    
      at Microsoft.Crm.Tools.Email.Agent.ServiceCore.ExecuteProviderWork(Object providerQueueRequestObject)
    
    #26090 - An error occurred while opening mailbox crmservices@sacomreal.com. System.Net.WebException: The operation has timed out
      at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
      at System.Net.HttpWebRequest.GetRequestStream()
      at Microsoft.Crm.Tools.Email.Providers.HttpDavRequest.SubmitXmlCommand(HttpWebRequest httpWebRequest, String body)
      at Microsoft.Crm.Tools.Email.Providers.HttpDavRequest.RetrieveInboxUri()
      at Microsoft.Crm.Tools.Email.Providers.ExchangeWebDavConnector.OpenMailbox()
      at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.InitExchangeConnector()
      at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.OpenMailbox()
      at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.Run()
    
    
    
    Need your helps

    Regards,

    Vinh Nguyen

     

    Thursday, December 2, 2010 6:17 AM
  • Hi Vinh,

    So what do you see in the list after you do this step?

    Click the Exchange virtual directory, double-click Authentication in the Security section of the Feature view

    --


    George Doubinski, MVP http://crm.georged.id.au
    Thursday, December 2, 2010 6:20 AM
    Moderator
  • Hi George,

    My server 2003 64bit is running IISv6. There is no Feature View section. So how to disable Forms Authentication on Exchange and ExAdmin ?

    Regards,

    Vinh Nguyen

    Thursday, December 2, 2010 6:35 AM
  • Hi Vinh,

    if you're running Exchange 2007 and IIS6, try following TechNet instructions to configure form-based authentication. Note that if this authentication is used for OWA, you may need to configure additional virtual directories for internal (CRM) access. But first, get it working.

    Thanks

    -- 


    George Doubinski, MVP http://crm.georged.id.au
    Thursday, December 2, 2010 11:47 PM
    Moderator