Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Hosted Exchange

Posted on 2012-04-01
9
Medium Priority
?
458 Views
Last Modified: 2012-08-13
We have a Hosted Exchange 2010 sp1 on a win2008 server. I would like to add a “domain alias” under one of the hosted domains, on the server. But since Hosted Exchange, only can be configured  with Power Shell, and power shell is not one of my specialty’s, I would like to know “how to do” .
0
Comment
Question by:skovhuset
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 8

Expert Comment

by:Amit Khilnaney
ID: 37792576
But since Hosted Exchange, only can be configured  with Power Shell,

I think you can use exchange management console to configure an alias. Are you saying that you are using the services provided by third party by using word "Hosted Exchange" i.e. via Office 365 or GoDaddy Hosted exchange a/c. I am familiar with on how to do it with godaddy as i am using the same to recieve email from my diffrent domains/email addresses to one a/c.
0
 

Author Comment

by:skovhuset
ID: 37792908
No I am using Microsoft Exchange 2010. But installed as “Hosted Exchange”.  And in this installation there isn’t any Exchange Management Console. You can only configure via Power Shell. So I need a script, that can put a domain alias under a configured domain. Just like in a “normal” exchange 2010”, under “accepted domains” and “e-mail address policy”.
0
 
LVL 5

Expert Comment

by:ts4673
ID: 37793085
To create the New Authoritative Accepted Domain:

 “New-AcceptedDomain -Name “mail.domain.com” -DomainName domain.com -DomainType Authoritative”

To create the New E-Mail Address Policy

 “New-EmailAddressPolicy -Name “@domain.com” -IncludedRecipients UserMailbox -ConditionalDepartment “Sales” -Priority 1 -EnabledEmailAddressTemplates “SMTP:@domain.com””

To apply the New E-Mail Address Policy to the recipients
 “Update-EmailAddressPolicy -Identity “@domain.com””
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 8

Expert Comment

by:TalkExchange
ID: 37795321
http://www.exchangeinbox.com/article.aspx?i=176&t=7&all=1

This site has good information about hosting mode including some basic commands. This should be helpful

The other good site is

http://www.zerohoursleep.com/2010/10/step-by-step-starting-with-exchange-2010-sp1-multi-tenant-sending-and-receiving-emails/
0
 

Author Comment

by:skovhuset
ID: 37796257
I have really tried to researh how to do it, but haven't yet found an answer that was clear enough for me to understand.

I think that what "ts4673" said is usefull somehow.
Maybe i need to first create an accepted domain for the organization that is not installed on the server. And then somehow add a new emailaddresspolicy to the domain i wanna be able to receive mails from the domain i specified in the "accepted domain"?

So lets say my server have these 2 domains:
@Contoso
@Testdomain
And i want Contoso to be able to recive the mails that is sent to @anotherone

What would i then need to do exactly?
So far, thank you for your help!
0
 

Author Comment

by:skovhuset
ID: 37827068
Anyone?
0
 
LVL 5

Expert Comment

by:ts4673
ID: 37827195
“New-AcceptedDomain -Name “mail.testdomain.com” -DomainName testdomain.com -DomainType Authoritative”

 “New-EmailAddressPolicy -Name “@testdomain.com” -IncludedRecipients UserMailbox -ConditionalDepartment “Sales” -Priority 1 -EnabledEmailAddressTemplates “SMTP:@testdomain.com””

To apply the New E-Mail Address Policy to the recipients
 “Update-EmailAddressPolicy -Identity “@testdomain.com””

now everyone in your orginization can receive mail at theirname@testdomain.com

If you still dont understand you might consider hiring someone to just do it for you.
0
 

Accepted Solution

by:
skovhuset earned 0 total points
ID: 37832111
ts4673:
Efter a long time of trying to find out what to do, i finally managed.
And i just wanted to show you what i was asking for:



New-AcceptedDomain -Organization "hokus.dk" -Name "super.dk" -DomainName super.dk -DomainType 'Authoritative'

New-EmailAddressPolicy -Name "@super.dk" -Organization "hokus.dk" -Priority 1 -EnabledEmailAddressTemplates @("SMTP:%m@hokus.dk", "smtp:%m@super.dk") -IncludedRecipients 'AllRecipients'

Get-Mailbox -Organization "hokus.dk" -Identity "Pokus Hokus" | Set-Mailbox -EmailAddressPolicyEnabled $false
Get-Mailbox -Organization "hokus.dk" -Identity "Pokus Hokus" | Set-Mailbox -EmailAddressPolicyEnabled $true



I know that there must be a smarter way to update the emailaddresspolicy for a domain, but couldn't find a way that worked. So the only way i could find to do it, was to disable and enable it again on each account, which updated the policy.

What you gave me earlier would only work in a "non"-hosted enviroment i belive.
Thanks for guiding me in the correct direction :)
0
 

Author Closing Comment

by:skovhuset
ID: 37855006
Only solution for hosted environments!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
In this video we show how to create a Shared Mailbox 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 >> Sha…
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
Suggested Courses

610 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