Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Email to query-based DL is looping

Posted on 2014-11-12
4
Medium Priority
?
55 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
In this video we show how to create a mailbox database 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 >> Data…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

886 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