Cannot email recreated dynamic distribution list NDR 5.1.1

We had an issue where we needed to change the location of the OU in a dynamic distribution groups that had moved from Exch 2003>2010>2013.  We couldn't do it so we recreated a new distribution group with the same SMTP address.  Now users
are getting 5.1.1 errors when trying to send an email to the distribution list.
Here is the error: 
IMCEAEX-_o=Wa-Nee+20Community+20Schools_ou=First+20Administrative+20Group_cn=Recipients_cn=[email protected]
Remote Server returned '550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found'
I have found other posts that mention deleting the cached address in Outlook, but that has not solved my issue.  Further reading leads me to believe it might have something to do with the legacy DN, but I don't know what to do to fix the issue.

I convered it to this: X500:/o=Wa-Nee Community Schools/ou=First Administrative Group/cn=Recipients/cn=[email protected] and added as an X500 address in the newly created dynamic dist group, but I am still getting the NDR.
IMCEAEX-_o=Wa-Nee+20Community+20Schools_ou=First+20Administrative+20Group_cn=Recipients_cn=[email protected] Remote Server returned '550 5.1.1 RESOLVER.ADR.ExRecipNotFound;
not found'
That OU (First Administrative Group) isn't an OU I am using.  Is it possible that the legacy DN value is pointing to the old dynamic group location and I need to update to point to the new location of the distribution group?

Similar Messages

  • How to create Exchange dynamic distribution list using multivalue extension custom attribute

    I am trying to create a dynamic distribution list using an ExtensionCustomAttribute.  I am in hybrid mode with Exchange 2013.  The syntax I have is this: 
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {(ExtensionCustomAttribute2 -eq 'NH')} 
    This works correctly on-prem.  But hosted always results in an empty list.  I can see in dirsync the attribute is in the hosted environment, but for whatever reason, the distribution group gets created but always come up null.
    If I create a group looking at the single valued attributes, such as CustomAttribute6 -eq 'Y', it works correctly on-prem and hosted.  
    If anyone has any suggestions I would appreciate it.

    I don't think I provided enough information about the problem.  Let me add some and see if it makes sense.
    I have an Exchange 2013 on-premise configured in hybrid mode with Office365.  For testing purposes, I have 2 users, Joe and Steve, one with the mailbox on-prem, and the other with the mailbox in the cloud.  Each of them has CustomAttribute6 = 'Y'
    and ExtensionCustomAttribute2 = 'NH'. Dirsync shows these users and these attributes are synced between on-prem and cloud.
    Using on-prem Exchange powershell, I run the following command:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')} 
    This correctly finds the 2 users when I query for them as follows:
    $DDG = Get-DynamicDistributionGroup DG_NH
    Get-Recipient -RecipientPreviewFilter $DDG.RecipientFilter | FT alias
    So I then delete this DG, and recreate it this time looking at the multi-value attribute ExtensionCustomAttribute2, as follows:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')} 
    Replaying the query above, I can see this also works fine and finds my two users.
    Next I open a new powershell and connect to Office 365 and repeat the process there.
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')} 
    This correctly finds the 2 users when I query for them.
    And then delete the group and recreate it using the multi-value attribute:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')} 
    When I run the query this time it produces no result.  Every test I try results in an empty group if I am using a multi-valued attribute in the search criteria in the cloud.  If I use single valued attribute, it works fine.
    I really need to be able to get multi-valued DDG's working in the cloud.  If anyone has done this and has any suggestions, I would appreciate seeing what you did.  And if this is the wrong forum to port this, if you can point me to a more suitable
    forum I will report there.
    Thanks,
    Richard

  • MailTips for Dynamic Distribution Lists - wrong number of recipients

    We use Exchange 2013 and Outlook 2013. We have a Dynamic Distribution List ([email protected]) configured on Exchange. It contains 75 users, I confirmed it using below cmdlets in Exchange management shell
    $all = Get-DynamicDistributionGroup [email protected]
    Get-Recipient -RecipientPreviewFilter $all.recipientfilter
    When I use Outlook to create a new email to [email protected] there is a MailTip displayed mention about 87 of recipients, it should be 75 users. 
    Settings on our Exchange servers are as below:
    [PS] C:\Windows\system32>Get-OrganizationConfig | fl *mailtip*
    MailTipsAllTipsEnabled                : True
    MailTipsExternalRecipientsTipsEnabled : False
    MailTipsGroupMetricsEnabled           : True
    MailTipsLargeAudienceThreshold        : 25
    MailTipsMailboxSourcedTipsEnabled     : True
    Any idea how to troubleshoot it?

    In Active Directory attributes for this group are as below
    msExchGroupMemberCount =
    87msExchGroupExternalMemberCount
    = 0 
    Regarding
    files under %ExchangeInstallPath%GroupMetrics there is only cookie file modified yesterday and
    it contains as below:
    DC=domain,DC=com;12/28/2014 13:11:15;05/14/2013 20:02:24
    Just created new dynamic distribution group with the same filter as for group all (for test purpose). There is no MailTip for this new group now. Is it possible to force \ speed up group metrics generation?

  • Java Mail: send a SINGLE email to a distribution list

    Is it possible to send a single email to a distribution list using Java Mail?
    Please help with some code samples.
    Right now, our mail program uses java mail api to send one email/person in the distribution list and runs in a for loop. Is it possible to have the distribution list in the to field and just send one single email to all persons in the list?
    Thanks,
    Jayashree.

    Yes, of course, assuming your mail server supports
    distribution lists. Most mail servers do, but exactly
    how you create and administer a mailing list varies
    from server to server.
    Once you've created the mailing list on the server,
    just use the name of the list in the To field of the
    message.

  • Address List and RecipientFilter for dynamic distribution lists

    Hi guys
    I am trying to setup a Address List in exchange that contains dynamic distribution lists specified by the list name. So address List abc should contain dynamic distribution lists with list names "def" and "ghi" and "jkl"
    So far I have come up with below which displays all dynamic distribution lists. this works but how can I now filter further to specific lists?
    New-AddressList -Name abc -RecipientFilter {((Alias -ne $null) -and (ObjectClass -eq 'msexchdynamicdistributionlist'))}
    Example of what I am trying to acheive:
    New-AddressList -Name abc -RecipientFilter {((Alias -ne $null) -and ((ObjectClass -eq 'msexchdynamicdistributionlist') -and ('msexchdynamicdistributionlist' -eq 'def') -or ('msexchdynamicdistributionlist' -eq 'ghi') -or ('msexchdynamicdistributionlist' -eq
    'jkl'))}

    Hi,
    I have some tests in my environment using Exchange 2013. You can use the following cmdlet to create an address list that contains specified distribution group members.
    New-AddressList -Name test3 -RecipientFilter {((Alias -ne $null) -and (MemberOfGroup -eq 'CN=Sales,CN=Users,DC=contoso,DC=com'))}
    Note that it can't work for dynamic distribution group. In your case, I haven't found a parameter for dynamic distribution group in Exchange, your understanding will be appreciated.
    Hope my clarification can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • How do I set up an email group (aka distribution list) on iPad Air

    How do I set up an email group (aka distribution list) on iPad Air?

    It wasn't clear what the diff was between the 2 versions. I got the impression, from some reviews, that the free version limited the number of groups you could have, or the number in each group. Anyway, after all the hours I've spent over the last few days trying work-arounds, it was well worth 4 bucks.

  • Cannot "Send As" a distribution list in Exchange 2010

    I'm trying to enable some of our users to send email as one of our distribution lists in Exchange 2010, and I cannot get it to work. 
    I have granted the users "send as" permissions on the distribution group in ADUC, both individually and as members of a security group. I also did the same using the "Add-AdPermission" PowerShell cmdlet.
    I have ensured that the distribution list is visible to the GAL.
    I have cleared Outlook's nickname cache.
    I have tried waiting the specified two hours for Exchange settings to update, and I have also rebooted the Exchange server itself. 
    I continue to get bounce messages with "You can't send a message on behalf of this user unless you have permission to do so."
    What can I try next? 
    Thanks,
    Jason

    Hi Jason,
    I have a test in my lab. Here is the steps for your reference:
    1. Open Active Directory Users and Computers on Domain Controller. Click Users -> right click the distribution group -> click Properties -> click Security.
    2. Add the user that you want to grant "Send As" permission to the list. Allow the "Send As" permission.
    3. Click Apply, and then Ok.
    Besides, we need to wait some minutes to take it effect.
    Hope it helps.
    If you need further assistance, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Dynamic Distribution List not working!

    H all,
    I have been struggling with Dynamic DLs...
    I have a domain with 3 sub-domains. Only some users on my top domain have mailboxes on exchange (we use another primary email system) and all users on the sub-domains are added to Exchange as Mail contacts and Mailusers.
    So the idea is to create a DL for all users on each site. I want to be able to send email to all users on a particular office.
    So, following the TechNet articles I do:
    [PS] C:\Windows\system32>New-DynamicDistributionGroup "Test1" -RecipientFilter {(RecipientType -eq 'MailUser') -and (Office -eq 'Office2')}
    All users have the Office field filled.
    The DL appears on my ECP. Now to see what members the list has (should pull all members with "Office2" on AD) I do:
    $members = Get-DynamicDistributionGroup -Identity "Test1"
    [PS] C:\Windows\system32>Get-Recipient -RecipientPreviewFilter $members.RecipientFilter | select Displayname,PrimarySmtp
    Address
    When I press return, it just returns (nada, nothing, nicles):
    [PS] C:\Windows\system32>
    On other Distribution lists, it works...
    For this particular location I converted the mailcontacts to mailusers because I was having problems on sending emails to this DL. Basically the email was purely not sent but it didn't return any error message.. just discarded. If I run a message tracking
    on ECP all I can see is: "Delivery report information for this message is no longer available."

    Hi,
    This would help you... Add RecipientContainer with the full domain name where recipients are and check...
    RecipientContainer
    Optional
    Microsoft.Exchange.Configuration.Tasks.OrganizationalUnitIdParameter
    The RecipientContainer parameter filters the recipients used to build the dynamic distribution group based on their location in Active Directory. The value of theRecipientContainer parameter
    can be the canonical name of an organizational unit (OU) or a domain. If you don't specify a value for the RecipientContainerparameter, the cmdlet will default to use the local container. This location is specified by using the OrganizationalUnit parameter.
    From: http://technet.microsoft.com/en-us/library/bb125127(v=exchg.150).aspx
    Blog |
    Get Your Exchange Powershell Tip of the Day from here
    Still doesn't work!
    I have done:
    [PS] C:\Windows\system32>New-DynamicDistributionGroup "Test3"-recipientcontainer "subdomain.domain.local" -RecipientFilter {((R
    ecipientType -eq 'MailUser') -and (Office -eq Office2))}
    Creates the DL, but no members...

  • Dynamic distribution list?

    Hi,
    Does BI Publisher support dynamic recipient list? For example, the email list would be in a table and at delivery time, BI Publisher would fetch this list from the database or BI repository.
    Thank you.

    Yes , you can do that
    select
    d.department_name KEY,
    'standard' TEMPLATE,
    'RTF' TEMPLATE_FORMAT,
    'en-US' LOCALE,
    'PDF' OUTPUT_FORMAT,
    'EMAIL' DEL_CHANNEL,
    '[email protected]' PARAMETER1, this can be a column from a table
    '[email protected]' PARAMETER2, this can be a column from a table
    '[email protected]' PARAMETER3, this can be a column from a table
    'SUBJECT: Enterprise Bursting Test' PARAMETER4, this can be a column from a table
    'BODY: Test Report Body' PARAMETER5, this can be a column from a table
    'true' PARAMETER6,
    '[email protected]' PARAMETER7 this can be a column from a table
    from
    email_lists d
    use this query in the bursting query editor.

  • Not receiving email sent to Distribution List?

    Hi all
    My client has a 8900, for which I have set up Exchange email via BIS.
    Everything works ok except the blackberry doesnt sync any messages sent to distribution lists he is part of.
    Outlook mailbox is working fine, showing all emails.
    I'd imagine this is a common question but the search is throwing up an error and I cant find an answer!

    did you found solution for this one I've got similar issue
    exchange 2007, emails sent to distribution group are fine in outlook but not on the Blackberry device, all other emails on the device works fine ...

  • Sending concurrent program output as an Email to a distribution list

    Hi Oracle Gurus,
    We have a unique requirement wherein we need to send the output of a Concurrent Program as an attachment with an mail to a Distribution list . Can someone please let me know if there is any provision within Apps to accomplish the same.
    Regards
    Kiran

    Hi ,
    COncurrent prorams is for Reports ?
    if so try with solution.
    write a unix script. or this purpose.
    Something in the order of this should work. You get the idea.
    1. Define printer styles
    2. Define a printer driver to call script in the arguments field:
    $ZZ_TOP/bin/email.sh $PROFILES$.FILENAME
    $PROFILES$.USERNAME $PROFILES$.TITLE
    3. Assign printer to the print styles and the driver
    4. Register the e-mail printer
    5. Default your report use the e-mail printer
    # Example script email.sh
    #!/bin/ksh
    [email protected]
    mailx -s "$3" $email_addr $1
    exit 0
    $1 is $PROFILE$.FILENAME
    $2 is $PROFILES$.USERNAME
    $3 is $PROFILES$.TITLE
    try with this u will get some idea.
    just let me know after you done it.
    --Basava.S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Unable to create working dynamic distribution list based on manager

    Hi,
    I am struggling to create a working dynamic distribution group. I am following the instructions at http://help.outlook.com/en-gb/140/Dd264647.aspx.
    My intent is to create DDG's based on a user's manager and their job title. In my org, sales managers will typically have 3 teams reporting to them. In our AD, this would be marked by a 3-4 letter acronym in the job title field (CSO,DCO,SDCO).
    I am trying to create distribution groups for use by their manager by having the manager and job title item as the filter, using the following script:
    New-DynamicDistributionGroup -Name "GROUPNAME" -RecipientFilter {(RecipientType -eq 'UserMailbox') -and (manager -eq 'Managername') -and (title -eq 'ACRONYM')}
    As an aside, I am unable to find if the manager object should be an alias, upn or ad object. I've tried with all with no success.
    No matter what permutations of the above script I try, nothing seems to work. The group creates, but does not work at all.
    Any help you can provide would be very much appreciated!

    Hi Ed,
    I did try that, and as it turned out, I was using the wrong powershell from the start.
    The commands above are for Office 365, not on-prem Exchange 2013. Having spoken to Microsoft, it seems like the AD object for manager may not be a filterable option at all, I'm waiting to hear back.
    If this can help jog anyone's mind, the commands we're looking towards now look something like this:
    New-DynamicDistributionGroup -Name "testname" -Alias "testname" -IncludedRecipients "MailboxUsers,MailContacts" -OrganizationalUnit "domain.local/users" -ConditionalDepartment "Test" -RecipientContainer "domain.local"
    We're still looking for a filter for manager in there, and I'll update the thread if I get anything worthy of note. Bear in mind that it's going to be difficult to settle for anything less than the manager object to filter by, as our requirements pretty
    much demand it.
    Thanks all.

  • Cannot make a dynamic  select list

    I couldn't make a dynamic select list in a jsp. please help

    <select name='item'>
                   <option value='-1'>Select Option</option>
    <%
                   rs=stmt.executeQuery("select * from item_master");
                   while (rs.next())
    %>
                             <option value='<%= rs.getString("item_code") %>'
    <%
                             if (rs.getString("item_code").equals(stritemcode))
                                  out.println(" selected ");
    %>
                             ><%= rs.getString("item_description") %></option>
    <%
    %>
                   </select>
    Hope the code snippet helps you. Here stritemcode is the value that should be selected. Amol

  • (Do I) Need to update legacy WMI filter for Dynamic Distribution List

    Wrapping up migration from Exchnage 2003 to Exchange 2010.  Have one special DDL called "Everone" that filters for all users with mailboxes AND that are not disabled.  This is used for broadcast notices and the second paramater eliminates
    NDR's generated by disabled AD accounts that still have mailboxes.
    Here is the filter that was created in Exchange 2003:
    (&(!cn=SystemMailbox{*})(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2)(|(homeMDB=*)(msExchHomeServerName=*))) )))
    (I hope that pasted right)
    I will be removing the old Exchange 2003 server soon and need to know if the DDL filter needs to be upgraded before I remove the old server (will it break if not).
    Additionally,  I think it may need to changed it to an OPATH compatible filter from the EMS and would need help with how to do that.  The canned options do not seem to cover the "only enabled users" paramater.

    Hi,
    Have you checked the suggestion Ed provided?
    Is there any update with your issue?
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • How to filter disabled accounts out of Dynamic Distribution Groups/Lists?

    As far as I understand it, OPATH does not support bitwise and/or flags, so excluding disabled accounts from dynamic distribution lists is impossible, unless I am missing something super simple.
    Many have found what they believe to be a valid solution by using -not(UserAccountControl -eq 'AccountDisabled, NormalAccount') in their filter, but this only equates to "anything NOT with a UserAccountControl value of 514 (integer)".  Simply
    adding "password does not expire" option on the account breaks that filter even if the account is disabled.
    Further, it appears anytime you create an OPATH filter, Exchange does create an LDAP equivalent filter that can be read, however it seems you cannot directly edit the LDAPRecipientFilter.  If I could, I could put in the necessary bitwise operation needed
    for this, e.g.  (!UserAccountControl:1.2.840.113556.1.4.803:=2), but it doesn't seem possible.
    Unfortunately I cannot rely on the ExchangeUserAccountControl flag as that relates to just hiding from Address Lists, and I have disabled accounts that need to be in the GAL.  Further I have active mailboxes for disabled AD accounts so I cannot use IsMailboxDisabled.
    Is this by design?  If so I don't understand why.  Are there any options (even with Exchange 2013)?

    Hi Simon.  Thanks for your response.
    I'm not sure what additional information I can provide that I have not already regarding the my suggestion/requirement, short of re-stating my original query.
    With Exchange 2003, we could simply exclude disabled accounts from dynamic distribution lists via the use of an LDAP filter that used bitwise logic against the UserAccountControl attribute, e.g.
    (!UserAccountControl:1.2.840.113556.1.4.803:=2)
    With Exchange 2007, direct LDAP queries were deprecated in favor of OPATH.  Unfortunately as a result, we can no longer filter out disabled accounts because OPATH does not support bitwise logic -xor -xand, etc.  Because of this we can no longer
    effectively use the UserAccountControl flags to exclude disabled accounts.  We can use this attribute by specifying explicit combinations of flags, e.g.
    UserAccountControl -ne 'AccountDisabled, NormalAccount'
    But because this attribute is a culmination of bits representing many different account options, there are a large number of combinations of values that could include Disabled Accounts whereby a filter such as above would NOT work.  E.g. simply adding
    an option to not expire the password on the account renders the filter above invalid.
    Currently our only option is to use workarounds which are not very effective (e.g. using a different attribute to store information about disabled accounts and filter on that instead).  As accounts can be disabled simply with a right-click in ADUC,
    enforcing the use of an additional attribute is not effective.
    I would like to understand why OPATH excludes this functionality, e.g. is it a design decision?  Or is it simply an oversight?  Further I'd like to see this functionality added.

Maybe you are looking for