Solved

Email to query-based DL is looping

Posted on 2014-11-12
4
43 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
  • 3
4 Comments
 
LVL 16

Expert Comment

by:Rajitha Chimmani
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
my solution solved the problem
0

Featured Post

How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
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

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now