Solved

forwarding email of users to external accounts

Posted on 2014-01-02
11
317 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
  • 5
  • 2
  • 2
  • +1
11 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 500 total points
Comment Utility
@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
Comment Utility
Thanks Alan

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

Expert Comment

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

Alan
0
 

Author Comment

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

Expert Comment

by:Alan Hardisty
Comment Utility
Please restart the Microsoft Exchange Transport Service and try again.
0
Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now