Sunday, January 13, 2008

Deleting specific mails from all mailboxes in Exchange 2007

 

       When a mail is sent out by a virus (say) from a Top officials' mailbox (or) a circular mail sent with incorrect information needs to be deleted from all the mailboxes, we had no direct option to do that in Exchange 2003, but Exchange 2007 incorporates this feature of searching and deleting particular mails from all (or) specific mailboxes in the Exchange organization.

     Here's how to do that with the Export-Mailbox cmdlet.

  • Let's say we need to delete the mail with subject Q2 Results, create a Temporary mailbox and run the below cmdlet with a account that has the Exchange Full Administrator's permission.

Get-Mailbox |Export-Mailbox -TargetMailbox temp@example.com

-SubjectKeywords "Q2 Results" -DeleteContent

Setting up Disclaimers in Exchange 2007

 

        Disclaimers are one of the common requirements these days to be added to the mails that are sent from a organization to avoid legal situations.

        With Exchange 2003, it is only possible to add disclaimers through third party software. With Exchange 2007, it is a built in feature and is implemented through Transport rules.

To create a Disclaimer rule:

  • Open the Exchange Management Console and expand the ‘Organization Configuration’ container.
  • Select the ‘Hub Transport’ container and in the Actions pane select “New Transport Rule
  • In the Open Transport rule wizard, give a name to the rule and add appropriate comments below.
  • Uncheck the ‘Enable rule’ option if you intend not to implement it immediately. Click Next to continue.
  • The Conditions page gives you a lot of options to chose from, as to when this rule be implemented, chose the one that best reflects your requirements (In this case for mails sent outside the organization) and click next.

clip_image004

  • In the Actions page, select the ‘Append the Disclaimer text…’ rule and edit the rule description in the below pane as required. You can also format the text with limited options.

clip_image006

  • In the Exceptions page, select the exceptions you want to apply and click next, the Configuration summary page shows configuration you have selected for this new rule. You can click back and change the settings if needed.

clip_image008

  • Click New in the wizard page to create the Disclaimer rule. You can select the Transport rule Tab in the Hub transport container and change the settings if you wish to, by going to the rule properties. You can also set the priority of the rule.

The "LEGAL" way to restore mails!!! - PFdavAdmin

      Most of the Exchange Administrators would require to restore mails or any mailbox items deleted (Hard or Soft deleted).

      Administrators just by the rush to finish the work, use to take the ownership of user mailboxes and open it to recover the mails.

      This is a potential security and legal risk, which may lead to losing their job(which has actually happened to one of my colleague).

      So the Easiest workaround is to user "PFdavAdmin" maintaining the privacy of the user and avoiding security breach.

Here are the simple steps to use PFdavAdmin to recover deleted mails:

1. Extract the tool to your server desktop. Open the Tool from the extracted folder.

2. Open the tool and enter the Exchange server name in which the user mailbox is(need not be FQDN!), the Domain Controller(DC) can be left alone for the tool to pick it up automatically.

clip_image002

image

3. Make sure the "All mailboxes" option is selected.

4. Click OK. The tool will list all the mailboxes in the server by the user's ALIAS (so note down the user's alias too.), select the user's alias and open it.

5. In the list, select the "Top of Information store" and select the folder from which the mail was deleted.

6. In the right side of the screen select the "Items" tab and "Show deleted items" at the bottom, to list the deleted items.

7. Select the items and right click to restore them.

Wednesday, January 2, 2008

Personal to Global SPAM settings with Exchange 2007!

         We all know that we can classify a sender as Safe or Blocked in Outlook 2003/Exchange 2003 environment, this is just local SPAM control solution in Exchange 2003.

        Exchange 2007 takes is a little further with the cmdlet Upadte-Safelist.

        This cmdlet synchronizes the JUNK mail settings of the user to the Exchange Transport servers and allows for the JUNK mail handling at the server level itself.

       This classification becomes important as EDGE server role which is not part of the Corporate network, handles the mails to the users based on the data in the ADAM, avoiding false positives.

You can choose to Sync either the Safe sender list or the Safe recipient list or Both, the default being Safe sender list.

Ex:-

Update-Safelist -Identity <UserAlias> -Type "Safesenders"

Update-Safelist -Identity user1 -Type "Saferecipient"

Update-Safelist -Identity user2 -Type "Both"

 

You can apply it on the Server/Storage group/Store level or to a particular filter setting.

Tuesday, December 11, 2007

Exchange SP1 out!!!

Folks Exchange SP1 is available for Download, this really is a exciting news as SP1 packs the power punch in it(literally) for the Administrator.

There are tons of new features added and improvised compared with Exchange 2007 RTM.

The release notes is available here.

All the new features included in SP1 are published in Technet

Enjoy SP1!!!

Sunday, December 2, 2007

Unavailable Offline Address Line (OAL) information

A user reported that he is getting erratic information in the Address List, below is the problem:

  • User’s outlook runs in Cached Exchange mode
  • User’s outlook in few instances is not showing the “Organization” information of any user in Global Address List.

This is basically to do with how the Global Address Lists works.

When a user is working in Cached Exchange Mode, the Outlook downloads the Offline address book for offline viewing of exchange user information. This offline address list does not have the following information of Exchange users:

  • “Organization” tab information.
  • “Member of” tab information.

Since this information is retrieved online from a Global Catalogue server, they will not be available for offline viewing.

Mailbox permissions and Active directory permissions

When a beginner starts working with the Exchange Mailbox permissions, they have two places to work with:

  • The Mailbox permissions in “Exchange Advanced tab” and
  • The “Security” tab which is AD permissions of that mailbox.

Usually a question arises as to why classify “Send As” and “Receive As” permissions in the Active directory (Security tab). This has to do with the way in which the mails flow and mail handling works in Exchange server 2003.

Exchange Mail handling diagram shows the advanced queuing engine and other Exchange 2003 mail handling components.

Let’s take this scenario of mail delivery to an exchange recipient User1 (say he is a CEO). Let’s assume that User2 (his P.A) has ‘Receive As’ and ‘Send As’ permission on the mailbox of User1.

When User1 receives a mail, who is in Exchange server EX1, the categorizer of EX1 looks up User1’s information in AD to determine which all accounts have Exchange specific permissions(Send As and Receive As permission in this case) and stamp mail for appropriate delivery, both User1 and User2 receive the mails sent to User1. Similar scenario applies for User2 sending on-behalf of User1.

All said and done but why classify these permissions as AD?

Because the categorizer looks up only AD information to route mails to the user’s mailbox store and not the user’s mailbox permissions.

Mailbox permissions are processed only when the mails are moved to the mailbox of the user.