Viral Rathod Exchange Server 2016 Blog

Microsoft Exchange Server Blog

  • Click here to Register for Experts-Exchange Account

  • My Experts Exchange Profile

  • Disclaimer

    All information is provided "AS IS" with no warranties, and confer no rights, and as such you perform at your own risk.

    NOTE: You should always make a backup of your server or export the registry before making any changes to it.

Archive for the ‘Exchange Server 2007 Posts’ Category

Powershell command to track emails sent to specific user email address

Posted by viralr on December 5, 2016

Suppose you have an end user saying that he is missing a message from an external sender in this case what you will do to track email from exchange server for that user ?

Well you can use following PowerShell command to track emails sent to your end user

Condition 1 – Get all failed/undeliverable emails:

Get-Messagetrackinglog -Recipients: team@microsoft.com -EventID “FAIL” -Start “5/4/2011 9:00:00 AM” -End “5/10/2011 5:00:00 PM” |ft Timestamp, Source, Sender, Recipients, MessageSubject >>C:output.txt

Condition 2 – Get all success emails

Get-Messagetrackinglog -Recipients: team@microst.com -EventID “RECEIVE” -Start “5/4/2011 9:00:00 AM” -End “5/10/2011 5:00:00 PM” |ft Timestamp, Source, Sender, Recipients, MessageSubject >>C:output.txt

This will give you the output in the form:
Timestamp Source Sender Recipients MessageSubject

Source “SMTP” means it’s an external email and “STOREDRIVER” means processed internally

Hope this help you to track your user email, if any question get back to me and I will be happy to help.

Advertisements

Posted in Exchange Server 2007 Posts, Exchange Server 2010 Posts, Exchange Server 2013 Posts | Leave a Comment »

Email Server SMTP Test for Outgoing E-mails

Posted by viralr on February 24, 2015

Email Server SMTP Test for Outgoing E-mails :-

If you are facing issues where your outgoing Emails are consistently rejected by other servers or land up in Junk Email or SPAM folders of the recipient mail box, this test can help you in identifying the problems.

Testing Process

  1. Send an Email to test@allaboutspam.com
  2. That email will bounce with a URL in the bounce messge.
  3. Either click on the URL or Copy/paste the URL in a browser.
  4. You will see report on your Email Server.

 

Ref : http://www.allaboutspam.com/email-server-test/

Posted in Exchange Server 2003 Posts, Exchange Server 2007 Posts, Exchange Server 2010 Posts | Leave a Comment »

Exchange 2007 Error updating public folder with free/busy information on virtual machine,The error number is 0x8004010f.

Posted by viralr on November 4, 2011

Problem Description :  Event Id 8207   is frquently occurring on the server :-
—————————————————————————————————-
 
Error updating public folder with free/busy information on virtual machine,The error number is 0x8004010f.
 
 
 
Resolution :-
——————–
1) For Outlook  2003 user make sure you have OAB public folder under system folders,use the following procedure to create OAB public folder
 
 1) Open Powershell
2) Run the command
 
Get-PublicFolder “\non_ipm_subtree\schedule+ free busy” –recurse |fl name,*rep*

3) Found “First Administrative Group” replica is missing ,this replica is needed for old outlook 2003clients

PS] C:\Windows\System32>Get-PublicFolder “\non_ipm_subtree\schedule+ free busy”
 -recurse |fl name,*rep*

Name                           : SCHEDULE+ FREE BUSY
LocalReplicaAgeLimit           :
Replicas                       : {}
ReplicationSchedule            : {}
UseDatabaseReplicationSchedule : True
Name                           : EX:/o=YourORGNAme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)
LocalReplicaAgeLimit           :
Replicas                       : {Public Folder Database}
ReplicationSchedule            : {}
UseDatabaseReplicationSchedule : True
 
4) To resolve this issue run the following command
 
new-publicfolder -name “EX:/o=YourORGNAME/ou=First Administrative Group” -path “\non_ipm_subtree\schedule+ free busy”
 
Note :  “EX:/o=YourORGNAME (Please change this value to your organization Name ,you will get your organization name from above command)
 

5) Make sure you have now First Administrative Group” replica as per below results ………………

Get-PublicFolder “\non_ipm_subtree\schedule+ free busy” –recurse |fl name,*rep*

[PS] C:\Windows\System32>Get-PublicFolder “\non_ipm_subtree\schedule+ free busy”
 -recurse |fl name,*rep*
Name                           : SCHEDULE+ FREE BUSY
LocalReplicaAgeLimit           :
Replicas                       : {}
ReplicationSchedule            : {}
UseDatabaseReplicationSchedule : True
Name                           : EX:/o=YourORGNAME/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)
LocalReplicaAgeLimit           :
Replicas                       : {Public Folder Database}
ReplicationSchedule            : {}
UseDatabaseReplicationSchedule : True
Name                           : EX:/o=YourORGNAME/ou=First Administrative Group
LocalReplicaAgeLimit           :
Replicas                       : {Public Folder Database}
ReplicationSchedule            : {}
UseDatabaseReplicationSchedule : True
 
If the above steps does not resolve the issue,then check the following points………….
 
 -Outlook 2007  uses Autodiscover and OAB virtual directory to download the OAB.
-From EMC make sure you have OAB Web based distribution enabled
-On Exchange 2007  under Program file>Microsoft>Exchanhe server you have ExchangeOAB folder which is shared (this will be -created if 2007 server is generating OAB)and you will see a folder inside it with guid value.
-In CAS server Restart Microsoft Exchange file distribution service.
-In CAS server open IIS and check for OAB virtual directory and see if there is any folder un it (guid value).Make sure  Autodiscover and OAB URL are set correctly,to set the URL follow KB http://support.microsoft.com/kb/940726
 
–Hope this post helps to resolve 8207 issue.
 
 Refrence :

Posted in Exchange Server 2007 Posts | 2 Comments »

Finding cause of Exchange database dismount

Posted by viralr on October 5, 2011

Finding cause of Exchange database dismount :-

Question :
———–
Hi

Running Exchange 2007 SP2. This afternoon, noticed that one of our stores was dismounted….not sure when it happened, and becuase it’s a Sunday no one called our Helpdesk luckily. Could have been down since Friday PM.

I’d like to find out the cause, but our Event Logs are full of stuff – does anyone know what Event ID I’d be looking for etc? Any other way to find out when it was dismounted? I thought about checking the transaction logs but they have all been purged after the backup.

ANS :
—–
Please check the event viewer thoroughly for the following evnets

Event Id – 9539 & 9175 will be generated during store dismount ,

Event Id 482 will generate in case if the exchange store is dismounted due to low disk space.

Event Id 9688,89,90 will generate in case your database has exceeds the limit ,

Also which software are using for Exchange Backup ,do you have any scheduled task to dismout the store ?

Posted in Exchange Server 2007 Posts | 1 Comment »

E-mails are stuck in queue

Posted by viralr on April 20, 2011

Check the State column of the SMTP Queue. If it is other than Active State, then try Force Connection to change the status to Active and give another chance for Exchange to deliver the messages.

If the messages are stuck in ,

Pre-submission Queue  :-

–Check for third-party applications (antivirus, etc.)

Awaiting Directory Lookup  :-

–Check for DNS problems

Check for Active Directory problems

–Check for proper attributes of the Users (Q281761)

–Check limits and restrictions

–Check recipient policies

–Check distribution Group properties

–Check permissions of the objects in Active Directory

Waiting to be routed :-

–Make sure Routing Engine Service is started

–Make sure Address Spaces are correct

–Check Link State (use Winroute)

 Local Delivery :-

–Make sure that the Information Store service is started and the mailbox and public folder store are mounted

Remote Queues :-

–Verify DNS can lookup an MX and A record for remote domains

–Make sure that the SMTP service is started

–Check for possible network Problems

–Check for problems with Firewalls, Proxies, routers, etc.

Posted in Exchange Server 2007 Posts | Leave a Comment »