?
Solved

get-messagetrackinglog returns no result ?

Posted on 2009-04-28
16
Medium Priority
?
2,397 Views
Last Modified: 2012-05-06
Hi All,

I'm trying to get email log by using the script from MS Exchange Troubleshooting Assistant and then customizing it further:


but it returns no result, is there something wrong with the syntax ? or is there any other logging option that i should enable ?

Thanks
get-messagetrackinglog -Recipients:myself@domain.com -Sender "sender@outsidedomain.com" -EventID "RECEIVE" -Start "1/04/2009 5:00:00 PM" -End "28/04/2009 5:31:00 PM

Open in new window

0
Comment
Question by:jjoz
16 Comments
 
LVL 49

Expert Comment

by:Akhater
ID: 24248584
First thing I suggest you do is to try to use the GUI instead it will put aside the potential syntax error.

also try it without the -EventID

finally do you have multiple exchange servers or just one ?
0
 
LVL 1

Author Comment

by:jjoz
ID: 24248592
this is just one single server (HT-CAS-MBX) but I couldn't get any result from both GUI and powershell ?
0
 
LVL 49

Expert Comment

by:Akhater
ID: 24248601
when you used the GUI did you remove the checkbox of EventID ?

did you click on "resolve receipient" after you entered your email address ?


try  this

get-messagetrackinglog -Sender "sender@outsidedomain.com" -EventID "RECEIVE" -Start "1/04/2009 5:00:00 PM" -End "28/04/2009 5:31:00 PM

Open in new window

0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 1

Author Comment

by:jjoz
ID: 24248621
but it does work with the other -Sender "sender2@outsidedomain.com" ?!?!

yes, I did
clicked the RESOLVE Receipient button to check my domain user mailbox

EventID unchecked as well for greater range.
0
 
LVL 1

Author Comment

by:jjoz
ID: 24248636
The result from your script still couldn't be displayed even though the script has completed. I wonder what makes the result empty ?
0
 
LVL 49

Expert Comment

by:Akhater
ID: 24248642
>>but it does work with the other -Sender "sender2@outsidedomain.com" ?!?!<<

Ok you didn't tell us this before

so you can find for sender2@outsidedomain.com but not for sender@outsidedomain.com ??

are sender and sender2 in the same outsidedomain.com ???

are you sure that "sender@outsidedomain.com" did send you an email in the given period ?

what if you try

get-messagetrackinglog -Recipients:myself@domain.com -EventID "RECEIVE" -Start "1/04/2009 5:00:00 PM" -End "28/04/2009 5:31:00 PM

and check all emails you got in that period of time maybe it is showing in the log as something else then "sender@outsidedomain.com"

0
 
LVL 32

Expert Comment

by:gupnit
ID: 24248651
Hi,
You got to make sure that MT is enabled first - http://www.msexchange.org/tutorials/Exchange-2007-Message-Tracking-Part1.html
Then first try using the simple command and see if anything is returned: get-messagetrackinglog -Sender sender@outsidedomain.com
Let me know
Thanks
Nitin Gupta (gupnit)
0
 
LVL 49

Expert Comment

by:Akhater
ID: 24248658
@gupnit

he said it is working for sender2@outsidedomain.com so message tracking is enabled

0
 
LVL 1

Author Comment

by:jjoz
ID: 24248687
To All,

the following cmdlets work fine to me:

which is very2 confusing :-|

get-messagetrackinglog -Sender "myself@gmail.com" -Recipients "myself@domain.com.au" -EventId "DELIVER"

Open in new window

0
 
LVL 49

Expert Comment

by:Akhater
ID: 24248698
so I guess that
 
myself@gmail.com = "sender@outsidedomain.com" ???? which was not working

and that "myself@domain.com.au" = myself@domain.com of your previous post ??
 

you also told me that it didn't give any result without EventID what am i missing here?
0
 
LVL 1

Author Comment

by:jjoz
ID: 24248717
"myself@gmail.com = "sender@outsidedomain.com" ???? which was not working "
no it's two different recipient.

while ""myself@domain.com.au" = myself@domain.com"" is the same. and that is me.

well i guess the email hasn't been received or re-sent during the my mail server outage yesterday.

0
 
LVL 49

Expert Comment

by:Akhater
ID: 24248729
so if all is working why can't it just be that "sender@outsidedomain.com" simply didn't sent any message during that period of time ?

Have you received anything from him/her in that period ?

0
 
LVL 1

Author Comment

by:jjoz
ID: 24248886
(-_-)".. pardon me guys...
i guess I'll have to give up since they haven't sent the email meaning that it won't be recorded by the Agentlog....(unless the server is psychic :-) )
0
 
LVL 49

Expert Comment

by:Akhater
ID: 24248959
oki :)
0
 
LVL 13

Expert Comment

by:Mark Damen
ID: 24250000
You might need to add -SERVER "servername" as well.

I've found, that running the Message Tracking Tool from my administation machine doesnt work, until I changed the server from the default of "my local ip" to the actual server name I want to run the tracking against.

Mark
0
 
LVL 1

Accepted Solution

by:
jjoz earned 0 total points
ID: 24256050
Alright,
Sorry to you all guys :-| my bad.

it seems that the sender hasn't sent the email and that is confirmed.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
How to effectively resolve the number one email related issue received by helpdesks.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses
Course of the Month15 days, 18 hours left to enroll

850 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