EAP for Database

I have a requirement set for to create an Email Address Policy that will work only for a specific database i am not able to fine any such option in EMC, not sure if its possible

Thanks in Advance
Who is Participating?
vicky19Connect With a Mentor Author Commented:
Thanks but i will be trying this in my Lab first to test out and this will help me more with some customizations
Manpreet SIngh KhatraConnect With a Mentor Solutions Architect, Project LeadCommented:
I had worked on a lot of EmailAddressPolicies for a client with many customization ... but that was for Exchange 2010 please check

To create an Email Address Policy for a specific database we cannot use the Exchange EMC or GUI, it is only possible using the Exchange Command Shell.

Syntax would be somewhat like
New-EmailAddressPolicy "EAP Name" -RecipientFilter {((Database -eq "Distinguished name of the Database") -and (RecipientType -eq 'UserMailbox'))} -EnabledPrimarySMTPAddressTemplate 'SMTP:@Domain.com'

If doubts do let me know

- Rancy
vicky19Author Commented:
Worked well .... just waiting for implementation authorization once i share my Lab success
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.