Exchange 2010 Distribution Group forwarding.

I have been tasked with forwarding a DG to a Mailbox, but filtering some to other destinations.
So we have a DG (distribution Group) called 'Support' and a Mailbox called 'Helpdesk' we need to forward most support mail to Helpdesk, but filter other support mail to other destinations. I am not sure if this can be done, but I am sure someone will enlighten me.

Thanks

Jeff
Paul-BrooksAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Manpreet SIngh KhatraConnect With a Mentor Solutions Architect, Project LeadCommented:
I guess your rule is working as you have said or created ... not at my lab but something like

New-TransportRule -Name 'SupportL' -Comments '' -Priority '0' -Enabled $true -AnyOfToHeader 'Support@xxxx.co.uk' -RedirectMessageTo 'helpdesk@xxxx.co.uk' -OnlyIfFromAddressContainsWords 'gmail','btinternet'

- Rancy
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Any memebr of a DL will get an email sent to it but if you want Specific forwarding then you shouls have a Shared Mailbox just for use and not expose your Helpdesk Mailbox

- Rancy
0
 
Paul-BrooksAuthor Commented:
Thanks Rancy,
I have inherited this issue and although what you say makes perfect sense, if possible I need to find a way to make this work.

Jeff
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Look i would than create a SHared Mailbox and then create Server rule to only forward some emails with Filters you need

- Rancy
0
 
Paul-BrooksAuthor Commented:
Thanks Rancy, I will try your suggestion.

Jeff
0
 
Paul-BrooksAuthor Commented:
Update, I have found that running a powershell script with the exception of btinternet the rule works
 (New-TransportRule -Name 'Support' -Comments '' -Priority '0' -Enabled $true -AnyOfToHeader 'Support@xxxx.co.uk' -RedirectMessageTo 'helpdesk@xxxx.co.uk' -ExceptIfFromAddressContainsWords 'btinternet'

But, if I try to replace btinternet with 'hotmail or gmail' the rule does not work. Is there some sort of block on internet email accounts?

Thanks

Jeff
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Sorry didnt get you ... so the only Exclusion in your Transport rule crealy says for a Domain and to Exclude anything that has the word 'btinternet'

- Rancy
0
 
Paul-BrooksAuthor Commented:
Rancy, this code blocks gmail and btinternet from going to helpdeak....

New-TransportRule -Name 'SupportL' -Comments '' -Priority '0' -Enabled $true -AnyOfToHeader 'Support@xxxx.co.uk' -RedirectMessageTo 'helpdesk@xxxx.co.uk' -ExceptIfFromAddressContainsWords 'gmail','btinternet'

What I need is almost the opposite, where i need btinternet and gmail to go to Helpdesk and filter out all other mail.

Hope that makes sense.

Jeff
0
 
Paul-BrooksAuthor Commented:
Sorry for the delay, yes the powershell script worked
New-TransportRule -Name 'SupportLapt' -Comments '' -Priority '0' -Enabled $true -AnyOfToHeader 'Support@xxxx.co.uk' -FromAddressContainsWords 'gmail','btinternet'  -RedirectMessageTo 'helpdesk@xxxx.co.uk'

Essentially you swap gmail and btinternet for the addresses you need and it works.

Thanks for all your help guys.

Jeff
0
All Courses

From novice to tech pro — start learning today.