Prevent users sending external e-mails with Transport Rules

AID: 3222
  • Status: Published

11640 points

  • Bydemazter
  • TypeTips/Tricks
  • Posted on2010-06-07 at 12:02:53
Awards
  • Community Pick
  • Experts Exchange Approved

A question that often comes up is how to prevent users from sending mail externally without affecting their ability to email each other.

In previous versions of Exchange there was no sure fire, clean way to achieve this.  With Exchange 2007 and 2010 we can use Transport rules to give us a very fine grained approach to managing this scenario.

Solution


Using the Exchange Management console, navigate to Organisation Configuration > Hub Transport
in the action pane on the right hand side click New Transport rule this will start the Transport Rule wizard with the screen below.
 

transport-rule-01.jpg
  • 86 KB
  • transport-rule-01
transport-rule-01


Give the rule a name and enter a description then click next.
 

transport-rule-02.jpg
  • 108 KB
  • transport-rule-02
transport-rule-02


On the conditions page select from user inside or outside the organisation and sent to users inside or outside the organisation.  In the bottom window of this screen click the blue link on from user inside the organisation and make sure inside is selected.  Then on the sent to users inside the organisation click the blue inside link and change it to outside.  Once you have made these changes click next.
 

transport-rule-03.jpg
  • 99 KB
  • transport-rule-03
transport-rule-03


This screen allows us to specify an action that is taken if the conditions on the previous screen are met.  From the list select either send bounce message to sender with enhanced status code or silently drop the message.  The bounce back option will inform the user that their attempt to send a message has failed; the silent option will simply drop the message with no notification.  You may also want to consider the log an event with message option so that you can keep track of how many messages have been dropped.  Click next when you are happy with your selection.
 

transport-rule-04.jpg
  • 124 KB
  • transport-rule-04
transport-rule-04


If you want certain people to be able to send external e-mail then on the following screen select except when the message is from people and click the blue link people and ensure that you select the users you want to be able to bypass this rule.  Click next and then new to complete the creation of the transport rule.

Summary


Transport rules in Exchange 2007 and 2010 provide us with a nice tidy way of performing tasks that were tedious and very difficult to manage in previous versions of Exchange.  For more information on Transport Rules please see: http://technet.microsoft.com/en-us/library/dd351127.aspx

    Asked On
    2010-06-07 at 12:02:53ID3222
    Tags

    Exchange 2007

    ,

    Exchange 2010

    ,

    transport rule

    ,

    external email prevent

    Topic

    Exchange Email Server

    Views
    3945

    Comments

    Add your Comment

    Please Sign up or Log in to comment on this article.

    Loading Advertisement...

    Top Exchange Experts

    1. demazter

      483,811

      Wizard

      13,711 points yesterday

      Profile
      Rank: Genius
    2. alanhardisty

      260,281

      Guru

      9,538 points yesterday

      Profile
      Rank: Genius
    3. akicute555

      141,264

      Master

      4,210 points yesterday

      Profile
      Rank: Wizard
    4. jordannet

      91,222

      Master

      20 points yesterday

      Profile
      Rank: Wizard
    5. apache09

      75,654

      Master

      0 points yesterday

      Profile
      Rank: Genius
    6. Neilsr

      62,403

      Master

      0 points yesterday

      Profile
      Rank: Genius
    7. e_aravind

      62,273

      Master

      0 points yesterday

      Profile
      Rank: Genius
    8. Akhater

      56,258

      Master

      6,784 points yesterday

      Profile
      Rank: Genius
    9. endital1097

      56,190

      Master

      30 points yesterday

      Profile
      Rank: Genius
    10. Exchange_Geek

      54,214

      Master

      4,478 points yesterday

      Profile
      Rank: Sage
    11. amitkulshrestha

      51,186

      Master

      3,500 points yesterday

      Profile
      Rank: Sage
    12. Radweld

      48,979

      0 points yesterday

      Profile
      Rank: Guru
    13. Rajkumar-MCITP

      48,434

      2,000 points yesterday

      Profile
      Rank: Master
    14. HendrikWiese

      38,141

      40 points yesterday

      Profile
      Rank: Wizard
    15. jjmck

      36,028

      6,464 points yesterday

      Profile
      Rank: Genius
    16. MDMOJAHID

      30,495

      0 points yesterday

      Profile
    17. sekar_raj32

      29,418

      0 points yesterday

      Profile
      Rank: Master
    18. leew

      26,099

      668 points yesterday

      Profile
      Rank: Savant
    19. roybridge

      25,764

      0 points yesterday

      Profile
      Rank: Wizard
    20. sirakov

      24,542

      50 points yesterday

      Profile
      Rank: Master
    21. Sulimanw

      24,504

      0 points yesterday

      Profile
      Rank: Sage
    22. Shivkumar

      22,728

      0 points yesterday

      Profile
      Rank: Guru
    23. MegaNuk3

      22,473

      30 points yesterday

      Profile
      Rank: Genius
    24. jessiepak

      21,286

      1,000 points yesterday

      Profile
      Rank: Master
    25. davorin

      21,218

      2,000 points yesterday

      Profile
      Rank: Sage

    Hall Of Fame