Logs
Where can I find the logs from the exchange 2010 server?
October 31st, 2011 7:00pm
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
Free Windows Admin Tool Kit Click here and download it now
October 31st, 2011 7:49pm
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.
October 31st, 2011 8:07pm
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
Free Windows Admin Tool Kit Click here and download it now
October 31st, 2011 8:36pm
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
October 31st, 2011 10:19pm
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!
Free Windows Admin Tool Kit Click here and download it now
October 31st, 2011 11:13pm
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
November 1st, 2011 3:28am
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
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2011 5:10am