trying to change the email server in the e-mail Router Configuration RRS feed

  • Question

  • Hello,

    In the email router configuration tool, I tried to change the location of the e-mail server for outgoing  from a 'test' smtp server (which works) to our official smtp server.

    But new emails showed a status of 'pending send' , and clicking on the email shows 'this message has not be submitted for delivery. X attempts have been made so far'

    Interesting message in the eventlog :

    The server response was: 5.7.1 Client does not have permissions to send as this sender

    Any ideas what I am missing ?


    • Edited by peter clift Thursday, August 29, 2013 5:33 PM more info
    Thursday, August 29, 2013 4:16 PM

All replies

  • There might be many causes.

    When you run the test do you have any error message?

    Thursday, August 29, 2013 5:31 PM
  • Yes, I get a error  : The server response was: 5.7.1 Client does not have permissions to send as this sender

    Thursday, August 29, 2013 6:08 PM
  • That does not seem to be a Mail router error message. In the third tab of the mail router you can select one profile and click on the button "Test" on the right.

    Can you report the error message?

    Thursday, August 29, 2013 7:31 PM
  • I can run 'test access' without any problem.

    Currently ,  the 'crm email router' service is running as local system. Should I change it to some domain account ? 

    Or is the caused by the contact email setting.

    For example, if I am trying to send as 'Contact A' , do I need to make a certain setting on the email access type for incoming and outgoing?


    Thursday, August 29, 2013 7:49 PM
  • I guess so.

    I think this link might be of help.

    Thursday, August 29, 2013 8:04 PM

  • you can enable e-mail router tracing and see what is happening in the backend.

    To enable logging, open Microsoft.Crm.Tools.EmailAgent.xml from following path C:\Program Files\Microsoft CRM Email\Service\

    Set LogLevel in Microsoft.Crm.Tools.EmailAgent.xml

    When the LogLevel is set to 1, router errors will be captured in the windows event log.

    When the LogLevel is set to 3 and a logfile location is specified, all router actions will be written to a log file in the specified location.

    Here is the Microsoft KB article which explains how to enable tracing in e-mail router.

    • Edited by VSomireddy Thursday, August 29, 2013 8:21 PM c
    Thursday, August 29, 2013 8:20 PM