?
Solved

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

Posted on 2012-04-02
9
Medium Priority
?
261 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 26

Expert Comment

by:Tony J
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
TCP/IP Network Protocol Cheat Sheet

TCP/IP is a set of network protocols which is best known for connecting the machines that make up the Internet. The truth is that TCP/IP is one of the oldest network protocols and its survival is mainly based on its simplicity and universality.

 
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:David
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 1500 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

801 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