Solved

Email to query-based DL is looping

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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‚Ķ
To show how to generate a certificate request 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 Servers >> Certificates‚Ķ

809 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