Solved

Email to query-based DL is looping

Posted on 2014-11-12
4
49 Views
Last Modified: 2015-02-07
I am in the process of migrating from Exchange 2007 to Office 365 \ Exchange Online. I am aware that dynamic distribution lists (DDL) do not sync from on-prem to Office 365 and that the workaround is to create a mail-contact in Office 365 with the smtp address of the on-prem DDL.

To test this I created a DDL as follows:

New-DynamicDistributionGroup -Name "Office365 DDL Test" -Alias "Office365ddltest" -OrganizationalUnit "<MY ORG PATH>/Distribution Lists/Query-based" -RecipientFilter {(RecipientType -eq 'UserMailbox' -or RecipientType -eq 'MailUser') -and (CustomAttribute7 -eq "ICT Messaging")} -RecipientContainer "<MY DOMAIN>"

I then created a mail-contact in Office 365 with the same name and smtp address as the on-prem DDL, Office365DDLTest@MYDOMAIN.com

I set CustomAttribute7 on two the mailboxes as described in the recipient filter above.

When I send an email from my mailbox, which is on Office 365, I get an NDR referencing a loop error:

I've attached the NDR as a text file

Thank you in advance for any assistance you can provide :)
DDL-Loop-NDR.txt
0
Comment
Question by:cyberleo2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40438490
Do you have any send connectors in on prem to send emails to cloud for recipient domain mydomain.com? I see the email comes from Office 365 to your on prem server which is again redirected to office 365 server directly instead of expanding the group and trying to send the email.
0
 

Author Comment

by:cyberleo2000
ID: 40438674
Yes.

The DDL is on-prem and the users in the DDL are in O365. The DDL should expand on-prem and send the email to users that meet the criteria, i.e.: have customattribute7 set to "ICT Messaging".
0
 

Accepted Solution

by:
cyberleo2000 earned 0 total points
ID: 40584354
I solved this by creating the dynamic distribution list in exchange online and the mail-enabled contact in exchange 2007.
0
 

Author Closing Comment

by:cyberleo2000
ID: 40595389
my solution solved the problem
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question