locked
Logs RRS feed

  • Question

  • Where can I find the logs from the exchange 2010 server?
    Monday, October 31, 2011 10:52 PM

Answers

  • If you've enabled verbose logging on the receive connector, you can see the message where Rich mentions above.  It sounds like you need to create a dedicated relay connector for Exchange or have your application authenticate to Exchange.



    Mike Crowley | MVP
    My Blog -- Planet Technologies

    • Marked as answer by Rowen-Xu Friday, November 4, 2011 9:50 AM
    Tuesday, November 1, 2011 12:28 AM
  • On Mon, 31 Oct 2011 23:59:08 +0000, WFusco wrote:
     
    >
    >
    >I have an application that logs its attempts to send emails. I got a the following message:
    >
    >Voter ID: 103XXXXX; System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at VRSystems.clsSendEmail.SendOneEmail(VREmail myEmail, Int32 EmailId, String& ErrorMessage)
    >
    >
    >
    >Want to see if this error came from the mail server itself.
     
    I'm pretty sure it did. If it hadn't the messge would have been
    accepted and the sender would have received a NDR.
     
    Ensure that "Verbose" logging is enabled on the Receive Connector(s)
    and you'll see the SMTP conversation in this directory:
     
    C:\Program Files\Microsoft\Exchange
    Server\TransportRoles\Logs\ProtocolLog\SmtpReceive
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    • Marked as answer by Rowen-Xu Friday, November 4, 2011 9:51 AM
    Tuesday, November 1, 2011 2:10 AM

All replies

  • On Mon, 31 Oct 2011 22:52:26 +0000, WFusco wrote:
     
    >Where can I find the logs from the exchange 2010 server?
     
    Which logs?
     
    This is a place to start:
    C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    Monday, October 31, 2011 11:40 PM
  • I have an application that logs its attempts to send emails. I got a the following message:

    Voter ID: 103XXXXX;  System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay
       at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
       at System.Net.Mail.SmtpClient.Send(MailMessage message)
       at VRSystems.clsSendEmail.SendOneEmail(VREmail myEmail, Int32 EmailId, String& ErrorMessage)

     

    Want to see if this error came from the mail server itself.

    Monday, October 31, 2011 11:59 PM
  • If you've enabled verbose logging on the receive connector, you can see the message where Rich mentions above.  It sounds like you need to create a dedicated relay connector for Exchange or have your application authenticate to Exchange.



    Mike Crowley | MVP
    My Blog -- Planet Technologies

    • Marked as answer by Rowen-Xu Friday, November 4, 2011 9:50 AM
    Tuesday, November 1, 2011 12:28 AM
  • On Mon, 31 Oct 2011 23:59:08 +0000, WFusco wrote:
     
    >
    >
    >I have an application that logs its attempts to send emails. I got a the following message:
    >
    >Voter ID: 103XXXXX; System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at VRSystems.clsSendEmail.SendOneEmail(VREmail myEmail, Int32 EmailId, String& ErrorMessage)
    >
    >
    >
    >Want to see if this error came from the mail server itself.
     
    I'm pretty sure it did. If it hadn't the messge would have been
    accepted and the sender would have received a NDR.
     
    Ensure that "Verbose" logging is enabled on the Receive Connector(s)
    and you'll see the SMTP conversation in this directory:
     
    C:\Program Files\Microsoft\Exchange
    Server\TransportRoles\Logs\ProtocolLog\SmtpReceive
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    • Marked as answer by Rowen-Xu Friday, November 4, 2011 9:51 AM
    Tuesday, November 1, 2011 2:10 AM
  • Hi,

    I just would like to add a related document for your reference:

    http://blogs.technet.com/b/exchange/archive/2006/12/28/3397620.aspx

    Hope it helps.

     


    Best Regards!
    Tuesday, November 1, 2011 3:04 AM