Solved

How to check all mails that sent to exchange server 2010?

Posted on 2012-04-02
9
257 Views
Last Modified: 2012-04-22
This is using MS Exchange 2010 server. Recently, we got problem to receive mails from few specific companies - ABC, DEF. Those mails always not been received by my users successfully in almost all of the occasions. I have whitelisted those companies by using set-contentfilterconfig in EMC. But, still, problem persists. I just want to make sure those mails are ever being delivered (or received) by my Exch server, how should I check? Can I check the exchange log, and how?

Thanks in advance.
0
Comment
Question by:MezzutOzil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 19

Expert Comment

by:Miguel Angel Perez Muñoz
ID: 37794822
Go to Exchange Management Console, expand your org, go to tools and use message track to view what happens with your mail.
0
 
LVL 25

Expert Comment

by:Tony Johncock
ID: 37794826
From the Exchange Management Shell:

Get-MessageTrackingLog –Sender “Sender@domain.com” –Recipients “Recipient@domain.com”
0
 
LVL 19

Expert Comment

by:suriyaehnop
ID: 37794879
Hi,

Do you have any mail gateway (anti-spam). If yes, maybe you can if the email was reach your mail gateway from external before passing to Hub Transport server. After that, you can user Message Trancking log (EMC) to query the email.
0
Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

 
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 37794938
Is there anything in between external mail servers and your exchange server? Antispam solution?

If so, Check whether it is blocking the emails.
0
 

Author Comment

by:MezzutOzil
ID: 37799085
Hi all,

The MS Exchange server is using built-in antispam. The question is can I have the log of all incoming mails that reach the exchange server? Regardless whether the mails was blocked, discarded or else.
0
 
LVL 47

Expert Comment

by:dlethe
ID: 37820282
There is no way to get a list of all emails sent to any particular host UNLESS you query every email server and client on the planet that has ever attempted to send a message to that host, and then query every ISP, ...
You need to attack this problem by looking at messages that DON'T get delivered.  Mail headers tell you a great deal when messages get bounced.  Log all inbound / outbound messages.  Make it known that the moment anybody is sure a message had a problem, you want to get the full headers and then start tracing.

I've seen this happen many times. Most common reason is that the sender uses a mail ISP that has a block of IP numbers, and one or all of them are blacklisted due to some other client sent too much spam somewhere .. so that particular IP number for a mail server shows up in a list of known spammers.   For the clients that are problems,  do a DNS lookup on their MX records and see if those IP numbers or names show up in any blacklists.  If so, let them know they are blacklisted and that not all their messages are getting delivered because of it.
0
 
LVL 27

Accepted Solution

by:
davorin earned 500 total points
ID: 37821440
The first step when mail wants to be received from another mail server is SMTP connection. All these connections are logged in SMTP receive logs and there is the first place to look. That will show you possible connection/transfer problems.
If the connection is not logged, then the problem is not on your exchange server but somewhere in the path from senders server to your server. If the connection is logged, then you can see if the mail is accepted or if the connection was dropped by some reason.
Next log to check is agent log. It will show you if the problematic mail was rejected and why.

http://exchangepedia.com/2007/05/exchange-server-2007-logging-smtp-protocol-activity.html
It is valid also for Exchange 2010.

http://technet.microsoft.com/en-us/library/bb124795.aspx - agent log
0
 

Author Closing Comment

by:MezzutOzil
ID: 37879246
good.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question