none
Exch 2010, Transport Rule. Create conditions for non-existent\non-GAL adresses?

    Question

  • Hi.

    I manage the Exchange 2010 Server on Win2k8 R2 (all x64) with all roles except Edge and Unified Communications roles.

    All incoming mail are picked-up by POPconnector and deliver to Exchange Server via SMTP.

    I need route all undirected mail  (mail adressed to non-existent adresses ) to shared mailbox undirected@. (i.e. catchall mailbox with variations).

    I try create transport rule, but did not understand which conditions i need

    How a can define "Deliver all mail for non-existent adresses to undirected@"?

    Monday, February 20, 2012 4:39 PM

Answers

  • I'm not entirely sure that's going to work.  You'll have to test it.  I'm not where I can test right now.

    Checking the headers will tell you if it was addressed to some address in one of your domains. You can use a test in the exceptions to exclude any address that does resolve, but I'm not sure if the "Inside the organization" excpeption will do that or if it will need to be an explicit DL.


    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "


    • Edited by mjolinor Tuesday, February 21, 2012 8:34 PM
    • Marked as answer by Vitaly Mikhno Wednesday, February 22, 2012 4:54 AM
    Tuesday, February 21, 2012 8:29 PM

All replies

  • The transport rules will not suffice in this situation.  Since you have an Edge role installed in your environment you are going to want to use the recipient filter agent on the Edge Transport Server.  Using this agent you can block delivery to any recipient that is not listed in your GAL.  Here's more information:

    http://technet.microsoft.com/en-us/library/bb123891.aspx

    Monday, February 20, 2012 5:14 PM
  • Can i use workarounds for this limitations (Recipient Filter on the Edge Role Server only)?

    Enable Recipient filter on a Hub?

    Use routing for non-existing adresses ?

    3rd party software?

    Monday, February 20, 2012 5:37 PM
  • For catch all or non-existent mailboxes you have to use the Edge Transport Server.  This is because the recipients are resolved before the message passes through through the transport rules agent which would exist on the Hub Transport Server.

    As for 3rd party software, you'd have to research that.

    Monday, February 20, 2012 5:47 PM
  • Monday, February 20, 2012 9:35 PM
  • You might try a rule that tests if the To: header contains text patterns matching your accepted domains, and the email is not sent to users inside the orgnanization.

    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

    Monday, February 20, 2012 9:42 PM
  • Hi.

    I manage the Exchange 2010 Server on Win2k8 R2 (all x64) with all roles except Edge and Unified Communications roles.

    All incoming mail are picked-up by POPconnector and deliver to Exchange Server via SMTP.

    I need route all undirected mail  (mail adressed to non-existent adresses ) to shared mailbox undirected@. (i.e. catchall mailbox with variations).

    I try create transport rule, but did not understand which conditions i need

    How a can define "Deliver all mail for non-existent adresses to undirected@"?

    Just wondering why you need to do this.

    Catch-all Mailboxes are typically a very bad idea.

    Monday, February 20, 2012 10:15 PM
    Moderator
  • I can recieve the messages and trop them after check
    Tuesday, February 21, 2012 8:12 PM
  • I can recieve the messages and trop them after check

    ok, but there could be thousands a day or more- mostly spam.

    And if a sender mistypes an SMTP address, they will never know it was the incorrect SMTP address till you look at it.  :)

    It's really not something most would recommend.

    Tuesday, February 21, 2012 8:19 PM
    Moderator
  • Is the "Users inside the organization" condition may be defined as "Outside the Organization" Scope in Transport Rule?

    Does it mean all e-mail adresses (from Recpient Configuration)?

    It's a good idea, thank a lot for you


    Tuesday, February 21, 2012 8:22 PM
  • I'm not entirely sure that's going to work.  You'll have to test it.  I'm not where I can test right now.

    Checking the headers will tell you if it was addressed to some address in one of your domains. You can use a test in the exceptions to exclude any address that does resolve, but I'm not sure if the "Inside the organization" excpeption will do that or if it will need to be an explicit DL.


    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "


    • Edited by mjolinor Tuesday, February 21, 2012 8:34 PM
    • Marked as answer by Vitaly Mikhno Wednesday, February 22, 2012 4:54 AM
    Tuesday, February 21, 2012 8:29 PM
  • Is the "Users inside the organization" condition may be defined as "Outside the Organization" Scope in Transport Rule?

    Does it mean all e-mail adresses (from Recpient Configuration)?

    It's a good idea, thank a lot for you



    No need to mark it as abusive. Im simply pointing out that some things are not always to way to solve a problem. 
    Tuesday, February 21, 2012 8:48 PM
    Moderator
  • Thank for your idea. I will try combine two transport rule "Deliver for existent user in domain" and "Redirect for users, in scope outside organization"
    Wednesday, February 22, 2012 4:56 AM