how to save all email addresses that pass Exchange server
Hello dears, I want to save all email addresses that pass through the exchange server. when an email is sent to any recipient outside my organization, I want to save all these addresses to a text file. for example Email ------------- To: user1@outside.com;user2@outside.com Cc: user@somedomain.com;user@anotherdomain.com Subject : Fw: ........ Message body test to test@domain.com I want to collect all the email addresses that is in this message user1@outside.com user2@outside.com user@somedomain.com user@anotherdomain.com test@domain.com Is this possible? Exchange 2007 or 2003
August 12th, 2009 11:47am

Yes it is possible and it is called as Message Journaling Please find below step by step doc for same For exchange 2003 Implementing Exchange 2003 Message Journaling http://www.msexchange.org/tutorials/Implementing-Exchange-2003-Message-Journaling.html http://support.microsoft.com/kb/261173 For exchange 2007 Exchange Server 2007: Using Journaling Rules http://www.msexchange.org/tutorials/Exchange-Server-2007-Using-Journaling-Rules.html http://technet.microsoft.com/en-us/magazine/2006.12.journaling.aspx?pr=blog Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
Free Windows Admin Tool Kit Click here and download it now
August 12th, 2009 3:06pm

There isn't any built in feature to collect all email addresses in text file. You may need to write your own transport agent (in Exchange 2007) or an event sink (in Exchange 2003) to write all outside email addresses to a text file in real time. If you have any query on transport agent or event sink then you may try posting a query indevelopmentforum for further information on how to develop it... Exchange Server TechCenter>Exchange Server Forums>Development All email transactions stored into message tracking logs so if you parser the logs then you may find the list of addresses later. You can use LogParser or any other third-party utility (I guess MessageStat gives this result) to scan message tracking logs... Advanced Exchange 2007 Transport Logs Troubleshooting using Log Parser - Part 1 http://msexchangeteam.com/archive/2007/11/12/447515.aspx Advanced Exchange 2007 Transport Logs Troubleshooting using Log Parser - Part 2 http://msexchangeteam.com/archive/2007/11/28/447598.aspx Amit Tank | MVP Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com
August 12th, 2009 4:20pm

Hi Tariq, Message journaling can send a copy of a message to the journaling mailbox every time a user in a journal-enabled mailbox database sends or receives a message. But you just want the email addresses and you need it in text format. There is no such a feature in Exchange. I agree with Amit, you may need to develop an agent to achieve this goal. Thanks, Elvis
Free Windows Admin Tool Kit Click here and download it now
August 13th, 2009 10:17am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics