Solved

Email to query-based DL is looping

Posted on 2014-11-12
4
45 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
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Find out what you should include to make the best professional email signature for your organization.
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

911 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

16 Experts available now in Live!

Get 1:1 Help Now