Solved

forwarding email of users to external accounts

Posted on 2014-01-02
11
337 Views
Last Modified: 2014-01-02
Hi,
I need configure the forwarding of mails of a user to a external account.
How do it in Exchange 2010 Server, not in Outlook Client? Without a rule transport for each user, no create contacts, only in powershell o EMC.
I have to do it with 300 users (one to one) and I need know the faster option.
0
Comment
Question by:techosi
[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
  • 5
  • 2
  • 2
  • +1
11 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 500 total points
ID: 39751047
@techosi,

This can be achieved using Powershell to automate the 300 accounts you have to amend by amending the following script:

Set-Mailbox -Identity "Username" -DeliverToMailboxAndForward $true -ForwardingSMTPAddress user@externaladdress.com

If you copy / paste that into notepad, amend the "Username" and the "user@externaladdress.com" for each user, you can then copy / paste the entire notepad content into Powershell and stand back while it gets to work.

The "username" part can also be the actual users email address e.g., user@yourdomain.com

For reference:
http://technet.microsoft.com/en-us/library/bb123981(v=exchg.141).aspx

Alan
0
 

Author Comment

by:techosi
ID: 39751074
Thanks Alan

I received error in field -ForwardingAddress , if in this place I put -ForwardingsmtpAddress?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39751092
Please check my initial comment - I've amended it since it was initially posted.

Alan
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Author Comment

by:techosi
ID: 39751127
Yes, done as indicated. but no I´m receiving the forwarding to the external account :(
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39751143
Please restart the Microsoft Exchange Transport Service and try again.
0
 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 500 total points
ID: 39751179
Makes sure you also run the following command:

Set-RemoteDomain -Identity Default -AutoForwardEnabled $true

Change Default to match the name of your Remote Domain Name (which is Default by default!).
0
 
LVL 1

Expert Comment

by:Diwakar Sharma
ID: 39751191
In a text file add all display names or aliases and run below command.

get-content "path of input file" | Set-Mailbox -ForwardingAddress user@externaladdress.com -DeliverToMailboxAndForward $true

Make sure allow automatic forward in default remote domain tab is checked.
0
 
LVL 15

Expert Comment

by:jerseysam
ID: 39751214
Create a new contact (external email address)

Then go to exchange manager.
Recipients,
Mailboxes,
Choose the person you wish to forward mails for,
Properties,
Delivery options
Enable forwarding

Then browse tot eh new contact you have set up (the external email address)
0
 
LVL 1

Expert Comment

by:Diwakar Sharma
ID: 39751232
Create a contact for external user user@externaladdress.com

In a text file add all display names or aliases whose forwarding need to be set and run below command.

get-content "path of input file" | Set-Mailbox -ForwardingAddress user@externaladdress.com -DeliverToMailboxAndForward $true

Make sure allow automatic forward in default remote domain tab is checked.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39751252
You don't need to create an external contact - it can be done via Powershell as long as the AutoForward setting is set.

Alan
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
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

635 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