locked
Prevent one user from sending to specific email account. RRS feed

  • Question

  • Hello,

    I want to prevent a user from sending an email to external account like "ex@ex.com". This rule should be applied to this user only. Also i want to capture all emails that come from "*@ex.com" to a specific user and route them to another mail box.

    Could you please advice if this can be happened. I am using exchange 2007 sp2.

    Thanks in advance.

    Monday, March 28, 2011 11:26 PM

Answers

  • For the first part you could create a mail contact and use Message Delivery Restrictions to prevent the specific user from sending to it.

    The second part should be possible with an Exchange 2007 Transport Rule.  Use the "when the From address contains text patterns" to match the sending domain and then choose the "redirect message to address" option.


    Tony http://www.activedir.org Blog: http://www.open-a-socket.com
    • Marked as answer by Sadirov Tuesday, March 29, 2011 1:19 PM
    Tuesday, March 29, 2011 1:25 AM
  • you can create a new transport rule to restricting emails to the internet on a per user and per domain, Take a look at the following article:

    http://exchangeserverpro.com/restricting-outbound-email-with-exchange-server-2007-transport-rules

    http://blogs.technet.com/b/exchange/archive/2010/01/18/3409197.aspx



    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Marked as answer by Sadirov Wednesday, March 30, 2011 4:21 PM
    Tuesday, March 29, 2011 10:01 AM

All replies

  • For the first part you could create a mail contact and use Message Delivery Restrictions to prevent the specific user from sending to it.

    The second part should be possible with an Exchange 2007 Transport Rule.  Use the "when the From address contains text patterns" to match the sending domain and then choose the "redirect message to address" option.


    Tony http://www.activedir.org Blog: http://www.open-a-socket.com
    • Marked as answer by Sadirov Tuesday, March 29, 2011 1:19 PM
    Tuesday, March 29, 2011 1:25 AM
  • you can create a new transport rule to restricting emails to the internet on a per user and per domain, Take a look at the following article:

    http://exchangeserverpro.com/restricting-outbound-email-with-exchange-server-2007-transport-rules

    http://blogs.technet.com/b/exchange/archive/2010/01/18/3409197.aspx



    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Marked as answer by Sadirov Wednesday, March 30, 2011 4:21 PM
    Tuesday, March 29, 2011 10:01 AM
  • Great, thank you very much Tony. Appreciated.

    Regarding the first one, i have implemented it and it is working. But what if I want a delivery restrictions for a specific domain denied for a specific user (ie, same of first one but whole domain like *@ex.com). I tried the *@ex.com in the mail contact but it didn't work, is there another solution.

    Best Regards,

    Tuesday, March 29, 2011 1:19 PM
  • That looks to be more difficult.  You might be able to achieve your goal with Transport Rules using the "when the message header contains text patterns" condition.  If that proves unworkable you would probably need to write a custom Transport Rule. 

    Perhaps someone else has a better solution?


    Tony
    Thursday, March 31, 2011 12:19 AM