{"id":1034,"date":"2008-11-05T14:25:58","date_gmt":"2008-11-05T12:25:58","guid":{"rendered":"http:\/\/www.corelan.be:8800\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/"},"modified":"2008-11-05T14:25:58","modified_gmt":"2008-11-05T12:25:58","slug":"dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing","status":"publish","type":"post","link":"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/","title":{"rendered":"Dynamic Distribution Lists not working as expected (0 recipients during mail routing)"},"content":{"rendered":"<p>Today, I encountered an interesting problem which appeared to be strange behaviour in Exchange 2007 at first, but fianlly ended up being a small configuration mistake. It just was not that easy to troubleshoot(but in the end, it all makes sense)<\/p>\n<p>This is what happened :<\/p>\n<p>I created a dynamic distribution list, based on company field :<\/p>\n<blockquote>\n<p><font face=\"Courier New\">New-DynamicDistributionGroup -Name &quot;Org-AllUsers&quot; -Alias &quot;Org-AllUsers&quot; -OrganizationalUnit &quot;mydomain.com\/Company Users\/Distribution Lists&quot; -RecipientFilter {((RecipientType -eq &quot;UserMailbox&quot;) -and (Company-eq &quot;MyCompany&quot;))}<\/font><\/p>\n<\/blockquote>\n<p>When looking at the recipients inside the Dyn DL, all seems to be fine :<\/p>\n<blockquote>\n<p><font face=\"Courier New\">$AllMembers = Get-DynamicDistributionGroup -Identity &quot;Org-AllUsers&quot;        <br \/>Get-Recipient -Filter $AllMembers.RecipientFilter <\/font><\/p>\n<p><font face=\"Courier New\">Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; RecipientType        <br \/>----&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -------------         <br \/>Peter Van Eeckhoutte&#160;&#160;&#160;&#160;&#160; UserMailbox         <br \/>TestUser 1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; UserMailbox         <br \/>TestUser 2&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; UserMailbox         <br \/><\/font><\/p>\n<\/blockquote>\n<p>When I looked at the \u2018preview\u2019 of the DL in the Exchange Management Console, the same users are returned. So far so good, nothing special here.<\/p>\n<p>So I tried sending an email to my newly created DL, but nobody received my email.&#160; So I had a look at the MessageTracking Log :<\/p>\n<blockquote>\n<p><font face=\"Courier New\" size=\"1\">[PS] C:\\&gt;Get-MessageTrackingLog -server exchangesrv1 -MessageSubject &quot;test&quot; -Start &quot;05\/11\/2008 11:00&quot; <\/font><\/p>\n<p><font face=\"Courier New\" size=\"1\">EventId&#160; Source&#160;&#160; Sender&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Recipients&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MessageSubject        <br \/>-------&#160; ------&#160;&#160; ------&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ----------&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --------------         <br \/>RECEIVE&#160; STORE... peter.ve@corelan.be&#160;&#160; {Org-Allusers@corelan.be}&#160;&#160;&#160;&#160; test         <br \/>EXPAND&#160;&#160; ROUTING&#160; peter.ve@corelan.be&#160;&#160; {}&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; test <\/font><\/p>\n<p><font face=\"Courier New\" size=\"1\">[PS] C:\\&gt;<\/font><\/p>\n<\/blockquote>\n<p><font face=\"Courier New\"><font face=\"Trebuchet MS\">So the email was sent alright, but it did not seem to be routed anywhere. When looking at the details of the ROUTING source event, this is what I saw :<\/font><\/font><\/p>\n<blockquote>\n<p><font face=\"Courier New\" size=\"2\">[PS] C:\\&gt;Get-MessageTrackingLog -server exchangesrv1 -MessageSubject &quot;test&quot; -Start &quot;05\/11\/2008 11:00&quot; | where {$_.Source \u2013eq &quot;ROUTING&quot;} | FL <\/font><\/p>\n<p><font face=\"Courier New\" size=\"2\">Timestamp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 5\/11\/2008 11:01:14        <br \/>ClientIp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>ClientHostname&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>ServerIp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>ServerHostname&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : EXCHANGESRV1         <br \/>SourceContext&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : EXCHANGESRV1.corelan.be         <br \/>ConnectorId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>Source&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : ROUTING         <br \/>EventId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : EXPAND         <br \/>InternalMessageId&#160;&#160;&#160;&#160;&#160;&#160; : 92432         <br \/>MessageId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : <a href=\"mailto:18653C94B6FB304CA4BE46A4F10D12F015C7A1BD1D@EXCHANGESRV1.corelan.be\">18653C94B6FB304CA4BE46A4F10D12F015C7A1BD1D@EXCHANGESRV1.corelan.be<\/a>         <br \/>Recipients&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : {}         <br \/>RecipientStatus&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : {250 2.1.5 RESOLVER.GRP.Expanded; distribution list expanded}         <br \/>TotalBytes&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 7043         <br \/>RecipientCount&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 0         <br \/>RelatedRecipientAddress : Org-Allusers@corelan.be         <br \/>Reference&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>MessageSubject&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : test         <br \/>Sender&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : peter.ve@corelan.be         <br \/>ReturnPath&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : peter.ve@corelan.be         <br \/>MessageInfo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :<\/font><\/p>\n<\/blockquote>\n<p><font face=\"Courier New\"><font face=\"Trebuchet MS\">EventID : Expand, RecipientCount : 0&#160;&#160; Since there are no recipients, the Expand Event within the Routing task was not followed by a transfer or delivery. <\/font><\/font><\/p>\n<p>&#160;<\/p>\n<p>So although the definition of the Dynamic Distribution List seemed to be ok, no recipient could be found.<\/p>\n<p>When looking at all available parameters of the New-DynamicDistributionList cmdlet, I noticed a parameter that could be the root cause of this problem :&#160; -RecipientContainer<\/p>\n<p>Apparently, when creating the DynamicDistributionList, I forgot to add the RecipientContainer. This container indicates&#160; the scope of where the filter must be applied to. If you don\u2019t specify anything, it\u2019s not going to assume that you want to filter on the entire domain, it will just assume that it needs to apply to the OrganizationalUnit where you want to save the Distribution List (in my case, this is \u201cmydomain.com\/Company Users\/Distribution Lists\u201d).&#160; This OU only contains DL objects, so this is not what we want.<\/p>\n<p>So I removed my DDL again, created a new one, and set the RecipientContainer to the OU that contains the users :<\/p>\n<blockquote>\n<p><font face=\"Courier New\">New-DynamicDistributionGroup -Name &quot;Org-AllUsers&quot; -Alias &quot;Org-AllUsers&quot; -OrganizationalUnit &quot;mydomain.com\/Company Users\/Distribution Lists&quot; -RecipientFilter {((RecipientType -eq &quot;UserMailbox&quot;) -and (Company-eq &quot;MyCompany&quot;))} \u2013RecipientContainer &quot;mydomain.com\/Company Users&quot;<\/font><\/p>\n<\/blockquote>\n<p>I\u2019ve sent out a new mail, and now it works.<\/p>\n<p>&#160;<\/p>\n<blockquote>\n<p><font face=\"Courier New\">[PS] C:\\&gt;Get-MessageTrackingLog -server exchangesrv1 -MessageSubject &quot;TEST&quot; -Start &quot;05\/11\/2008 13:00&quot; | where {$_.Source -eq &quot;ROUTING&quot;} | FL <\/font><\/p>\n<p><font face=\"Courier New\">Timestamp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 5\/11\/2008 13:17:58        <br \/>ClientIp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>ClientHostname&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>ServerIp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>ServerHostname&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : EXCHANGESRV1         <br \/>SourceContext&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : EXCHANGESRV1.corelan.be         <br \/>ConnectorId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>Source&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : ROUTING         <br \/>EventId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : EXPAND         <br \/>InternalMessageId&#160;&#160;&#160;&#160;&#160;&#160; : 93161         <br \/>MessageId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : &lt;1F93B6AB6B24CB41A404D02C838B7D090FE17727FA@EXCHANGESRV1.corelan.be&gt;         <br \/>Recipients&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : {peter.ve@corelan.be, testuser.1@corelan.be, testuser.2@corelan.be}         <br \/>RecipientStatus&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : {250 2.1.5 RESOLVER.GRP.Expanded; distribution list expanded}         <br \/>TotalBytes&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 7404         <br \/>RecipientCount&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 3         <br \/>RelatedRecipientAddress : Org-AllUsers@corelan.be         <br \/>Reference&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>MessageSubject&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : TEST         <br \/>Sender&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : peter.ve@corelan.be         <br \/>ReturnPath&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : peter.ve@corelan.be         <br \/>MessageInfo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : <\/font><\/p>\n<p><font face=\"Courier New\"><\/font><\/p>\n<p><font face=\"Courier New\">Timestamp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 5\/11\/2008 13:17:58        <br \/>ClientIp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>ClientHostname&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>ServerIp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>ServerHostname&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : EXCHANGESRV1         <br \/>SourceContext&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : Resolver         <br \/>ConnectorId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :         <br \/>Source&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : ROUTING         <br \/>EventId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : TRANSFER         <br \/>InternalMessageId&#160;&#160;&#160;&#160;&#160;&#160; : 93162         <br \/>MessageId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : &lt;1F93B6AB6B24CB41A404D02C838B7D090FE17727FA@EXCHANGESRV1.corelan.be&gt;         <br \/>Recipients&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : {peter.ve@corelan.be, testuser.1@corelan.be, testuser.2@corelan.be}         <br \/>RecipientStatus&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : {}         <br \/>TotalBytes&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 7686         <br \/>RecipientCount&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 3         <br \/>RelatedRecipientAddress :         <br \/>Reference&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : {93161}         <br \/>MessageSubject&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : TEST         <br \/>Sender&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : peter.ve@corelan.be         <br \/>ReturnPath&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : peter.ve@corelan.be         <br \/>MessageInfo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; :<\/font><\/p>\n<\/blockquote>\n<p>&#160;<\/p>\n<p>&#160;<\/p>\n<p>&#160;<\/p>\n<p><font face=\"Courier New\"><font face=\"Trebuchet MS\"><\/font><\/font><\/p>\n<p><font face=\"Courier New\"><font face=\"Trebuchet MS\">&#160;<\/font><\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, I encountered an interesting problem which appeared to be strange behaviour in Exchange 2007 at first, but fianlly ended up being a small configuration mistake. It just was not that easy to troubleshoot(but in the end, it all makes sense) This is what happened : I created a dynamic distribution list, based on company &hellip; <a href=\"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> \"Dynamic Distribution Lists not working as expected (0 recipients during mail routing)\"<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[349],"tags":[1300,509,489],"class_list":["post-1034","post","type-post","status-publish","format-standard","hentry","category-exchange","tag-powershell","tag-exchange","tag-outlook"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Dynamic Distribution Lists not working as expected (0 recipients during mail routing) - Corelan | Exploit Development &amp; Vulnerability Research<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dynamic Distribution Lists not working as expected (0 recipients during mail routing) - Corelan | Exploit Development &amp; Vulnerability Research\" \/>\n<meta property=\"og:description\" content=\"Today, I encountered an interesting problem which appeared to be strange behaviour in Exchange 2007 at first, but fianlly ended up being a small configuration mistake. It just was not that easy to troubleshoot(but in the end, it all makes sense) This is what happened : I created a dynamic distribution list, based on company &hellip; Continue reading &quot;Dynamic Distribution Lists not working as expected (0 recipients during mail routing)&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/\" \/>\n<meta property=\"og:site_name\" content=\"Corelan | Exploit Development &amp; Vulnerability Research\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/corelanconsulting\" \/>\n<meta property=\"article:published_time\" content=\"2008-11-05T12:25:58+00:00\" \/>\n<meta name=\"author\" content=\"corelanc0d3r\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@corelanc0d3r\" \/>\n<meta name=\"twitter:site\" content=\"@corelanc0d3r\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/11\\\/05\\\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/11\\\/05\\\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\\\/\"},\"author\":{\"name\":\"corelanc0d3r\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/person\\\/3be5542b9b0a0787893db83a5ad68e8f\"},\"headline\":\"Dynamic Distribution Lists not working as expected (0 recipients during mail routing)\",\"datePublished\":\"2008-11-05T12:25:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/11\\\/05\\\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\\\/\"},\"wordCount\":711,\"publisher\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#organization\"},\"keywords\":[\"powershell\",\"MS Exchange\",\"Outlook\"],\"articleSection\":[\"MS Exchange\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/11\\\/05\\\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\\\/\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/11\\\/05\\\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\\\/\",\"name\":\"Dynamic Distribution Lists not working as expected (0 recipients during mail routing) - Corelan | Exploit Development &amp; Vulnerability Research\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#website\"},\"datePublished\":\"2008-11-05T12:25:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/11\\\/05\\\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/11\\\/05\\\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/11\\\/05\\\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.corelan.be\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dynamic Distribution Lists not working as expected (0 recipients during mail routing)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#website\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/\",\"name\":\"Corelan CyberSecurity Research\",\"description\":\"Corelan publishes in-depth tutorials on exploit development, Windows exploitation, vulnerability research, heap internals, reverse engineering and security tooling used by professionals worldwide.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.corelan.be\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#organization\",\"name\":\"Corelan CyberSecurity Research\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/corelanlogo2_small-20.png\",\"contentUrl\":\"https:\\\/\\\/www.corelan.be\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/corelanlogo2_small-20.png\",\"width\":200,\"height\":200,\"caption\":\"Corelan CyberSecurity Research\"},\"image\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/corelanconsulting\",\"https:\\\/\\\/x.com\\\/corelanc0d3r\",\"https:\\\/\\\/x.com\\\/corelanconsulting\",\"https:\\\/\\\/instagram.com\\\/corelanconsult\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/person\\\/3be5542b9b0a0787893db83a5ad68e8f\",\"name\":\"corelanc0d3r\",\"pronouns\":\"he\\\/him\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x\",\"caption\":\"corelanc0d3r\"},\"description\":\"Peter Van Eeckhoutte is the founder of Corelan and a globally recognized expert in exploit development and vulnerability research. With over two decades in IT security, he built Corelan into a respected platform for deep technical research, hands-on training, and knowledge sharing. Known for his influential exploit development tutorials, tools, and real-world training, Peter combines a strong research mindset with a passion for education\u2014helping security professionals understand not just how exploits work, but why.\",\"sameAs\":[\"https:\\\/\\\/www.corelan-training.com\",\"https:\\\/\\\/instagram.com\\\/corelanc0d3r\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/petervaneeckhoutte\\\/\",\"https:\\\/\\\/x.com\\\/corelanc0d3r\"],\"url\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/author\\\/admin0\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dynamic Distribution Lists not working as expected (0 recipients during mail routing) - Corelan | Exploit Development &amp; Vulnerability Research","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/","og_locale":"en_US","og_type":"article","og_title":"Dynamic Distribution Lists not working as expected (0 recipients during mail routing) - Corelan | Exploit Development &amp; Vulnerability Research","og_description":"Today, I encountered an interesting problem which appeared to be strange behaviour in Exchange 2007 at first, but fianlly ended up being a small configuration mistake. It just was not that easy to troubleshoot(but in the end, it all makes sense) This is what happened : I created a dynamic distribution list, based on company &hellip; Continue reading \"Dynamic Distribution Lists not working as expected (0 recipients during mail routing)\"","og_url":"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/","og_site_name":"Corelan | Exploit Development &amp; Vulnerability Research","article_publisher":"https:\/\/www.facebook.com\/corelanconsulting","article_published_time":"2008-11-05T12:25:58+00:00","author":"corelanc0d3r","twitter_card":"summary_large_image","twitter_creator":"@corelanc0d3r","twitter_site":"@corelanc0d3r","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/#article","isPartOf":{"@id":"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/"},"author":{"name":"corelanc0d3r","@id":"https:\/\/www.corelan.be\/#\/schema\/person\/3be5542b9b0a0787893db83a5ad68e8f"},"headline":"Dynamic Distribution Lists not working as expected (0 recipients during mail routing)","datePublished":"2008-11-05T12:25:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/"},"wordCount":711,"publisher":{"@id":"https:\/\/www.corelan.be\/#organization"},"keywords":["powershell","MS Exchange","Outlook"],"articleSection":["MS Exchange"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/","url":"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/","name":"Dynamic Distribution Lists not working as expected (0 recipients during mail routing) - Corelan | Exploit Development &amp; Vulnerability Research","isPartOf":{"@id":"https:\/\/www.corelan.be\/#website"},"datePublished":"2008-11-05T12:25:58+00:00","breadcrumb":{"@id":"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.corelan.be\/index.php\/2008\/11\/05\/dynamic-distribution-lists-not-working-as-expected-0-recipients-during-mail-routing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.corelan.be\/"},{"@type":"ListItem","position":2,"name":"Dynamic Distribution Lists not working as expected (0 recipients during mail routing)"}]},{"@type":"WebSite","@id":"https:\/\/www.corelan.be\/#website","url":"https:\/\/www.corelan.be\/","name":"Corelan CyberSecurity Research","description":"Corelan publishes in-depth tutorials on exploit development, Windows exploitation, vulnerability research, heap internals, reverse engineering and security tooling used by professionals worldwide.","publisher":{"@id":"https:\/\/www.corelan.be\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.corelan.be\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.corelan.be\/#organization","name":"Corelan CyberSecurity Research","url":"https:\/\/www.corelan.be\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.corelan.be\/#\/schema\/logo\/image\/","url":"https:\/\/www.corelan.be\/wp-content\/uploads\/2026\/03\/corelanlogo2_small-20.png","contentUrl":"https:\/\/www.corelan.be\/wp-content\/uploads\/2026\/03\/corelanlogo2_small-20.png","width":200,"height":200,"caption":"Corelan CyberSecurity Research"},"image":{"@id":"https:\/\/www.corelan.be\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/corelanconsulting","https:\/\/x.com\/corelanc0d3r","https:\/\/x.com\/corelanconsulting","https:\/\/instagram.com\/corelanconsult"]},{"@type":"Person","@id":"https:\/\/www.corelan.be\/#\/schema\/person\/3be5542b9b0a0787893db83a5ad68e8f","name":"corelanc0d3r","pronouns":"he\/him","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x","url":"https:\/\/secure.gravatar.com\/avatar\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x","caption":"corelanc0d3r"},"description":"Peter Van Eeckhoutte is the founder of Corelan and a globally recognized expert in exploit development and vulnerability research. With over two decades in IT security, he built Corelan into a respected platform for deep technical research, hands-on training, and knowledge sharing. Known for his influential exploit development tutorials, tools, and real-world training, Peter combines a strong research mindset with a passion for education\u2014helping security professionals understand not just how exploits work, but why.","sameAs":["https:\/\/www.corelan-training.com","https:\/\/instagram.com\/corelanc0d3r","https:\/\/www.linkedin.com\/in\/petervaneeckhoutte\/","https:\/\/x.com\/corelanc0d3r"],"url":"https:\/\/www.corelan.be\/index.php\/author\/admin0\/"}]}},"views":18645,"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/posts\/1034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/comments?post=1034"}],"version-history":[{"count":0,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/posts\/1034\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/media?parent=1034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/categories?post=1034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/tags?post=1034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}