[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 134
  • Last Modified:

exchange 2010 handle sensitive email

Hi Expert,

We are using exchange 2010, Management would like to know is there a way to get all the sensitive/important email from database and forward out? and the important email will be deleted after that.

Thanks
patrick
0
patcheah
Asked:
patcheah
  • 3
  • 2
  • 2
  • +1
1 Solution
 
manu4uCommented:
May I ask you, why would Management ask such a bizarre question, I am wondering.  They want to delete the important mails ?

Answering your question, how would Exchange would know whether which email is important to you / unless you have a proper Data Classification system is in place (Such as Titus).

Moreover, It will be a breach of security and privacy if you go through other user's mailboxes even if you are an Administrator, (unless authorized by law enforcement as part of investigation).

Anyways, In my knowledge, there is no automated way to have what you want.
0
 
patcheahAuthor Commented:
Hi Manu,

Thanks for your feedback,

i recalled at powershell, we can query the email subject, and could we forward the email through powershell to another email address?

Thanks
Alfred
0
 
manu4uCommented:
Yes. You can set email forward via PowerShell command. To set the email forwarding to another address for a user, you can refer the following steps:

1. Connect to Windows PowerShell and connect to the service again, see Use Windows PowerShell in Exchange Online.
2. Use the following Windows PowerShell commands to set the email forwarding.
 
Set-Mailbox -Identity Alias -DeliverToMailboxAndForward $true -ForwardingSMTPAddress forwarding@address

Please replace Alias to the user’s alias, and replace forwarding@address to the forwarding email address which the users’ emails will be forwarded to.

For example: Delivers Patrick' e-mail messages to Patrick's mailbox and also forwards them to Bob's (Bob@contoso.com) mailbox. We can use the following command:
Set-Mailbox -Identity Patrick -DeliverToMailboxAndForward $true -ForwardingSMTPAddress bob@contoso.com

For detailed information about Setting-Mailbox: http://technet.microsoft.com/en-us/library/bb123981.aspx.
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
patcheahAuthor Commented:
Hi Manu,

can i use this way ,http://exchangeserverpro.com/searching-message-tracking-logs-by-email-subject/

then manually forward to other email address?

Thanks
0
 
SreRajCommented:
Hi,

You could use Search-Mailbox cmdlet to search mails in mailboxes across organization based on subject line and move the mails to a target mailbox and delete them from source. You could use a command like the following.

Get-Mailbox | Search-Mailbox -SearchQuery 'Subject:"Your bank statement"'-TargetMailbox "administrator" -TargetFolder "SearchAndDeleteLog" -LogLevel Full -DeleteContent

Please refer following article for more information.

http://technet.microsoft.com/en-us/library/dd298173(v=exchg.141).aspx
0
 
Scott ThomsonCommented:
It might just be me but what do they think the point of getting these email out of the Dbase is for..?

instead of doing what you are doing if you explain a little further we may be able to suggest a completely more efficient way of going about this.
0
 
patcheahAuthor Commented:
Hi Expert,


i had tried to query by using this command ( in my test server),

Get-MessageTrackingLog

i intend to list all the email messages but only query not more than 50 emails, which i feel very weird,

thus, i tried with Get-MessageTrackingLog -MessageSubject "payment"

nothing come out ( but im pretty sure there is a message subject start with "payment")

did i enter the wrong command, i would like to search the email by more specific, user, subject and database,

could any expert here advise what is the correct powershell command in order to fullfill the requirement?

Thanks
0
 
SreRajCommented:
Please try the following command.

Get-MessageTrackingLog -end "08/24/2014 23:59:59" -START "07/24/2014 00:00:00" -Recipients user1@abc.com -sender user2@abc.com -messagesubject "Payment" -server TransportServer1

Also, you need to check for how many days Exchange Server is configured to keep the Log Files. You could use the following command and look for the value MessageTrackingLogMaxAge. Only for that many days logs will be available for search. If your Hub and Mailbox roles are collocated then you have to use Get-MailboxServer.

Get-transportServer -Identity TransportServer1 | select messagetracking*
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now