Solved

forwarding email of users to external accounts

Posted on 2014-01-02
11
318 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
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
 

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
Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

 
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

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.

Question has a verified solution.

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

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…
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a User 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 >> Mailb…
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…

930 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

13 Experts available now in Live!

Get 1:1 Help Now