How to forward mail to an external email address
Thank to: https://exchangepedia.com/
In Exchange Server 2003, mail for a recipient can be forwarded to an alternate recipient by modifying the recipient’s Delivery Options in ADUC | recipient -> properties | Exchange General tab.
If you need to forward mail to an external email address, you can’t simply type the address in the Forward to: field on the Delivery Options page. A (mail-enabled) Contact needs to be created in AD first, and Delivery Options modified to point to the Contact.
Forwarding mail to an external address in Exchange 2010 and Exchange 2007
In Exchange 2010/2007, these tasks remain the same. However, instead of using ADUC to accomplish them, you use the EMC or the Shell (aka “EMS“). The new term for a Contact is MailContact.
Create a MailContact
Create a MailContact using the EMC:
- Expand Recipeint Configuration | Mail Contact
- In the Action pane, click New Mail Contact
- To create a new Contact object, leave the default (New Contact) selected | click Next
- Type First name, Last name
- Click Edit to add the external email address
- Click New to complete creation of new MailContact
Alternatively, use the Shell to create a new MailContact:
New-MailContact -Name “Foo User” -ExternalEmailAddress “foo@externaldomain.com
Next, we set the recipient’s Delivery Options to deliver to the alternate recipient.
Forward mail for a recipient to the MailContact
Now that we have a MailContact created for the external recipient’s email address, we can forward mail for the Exchange recipient to the MailContact. To configure mail forwarding using the EMC:
- Expand Recipeint Configuration | Mailbox | select mailbox | properties | Mail Flow Settings tab | Delivery Options
- Under Forwarding address, select Forward to
- Click Browse to select the MailContact
- Optional: If a copy of the message needs to be delivered to both the external recipient and the original recipient’s mailbox, select the Deliver message to both forwarding address and mailbox
To configure mail forwarding using the Shell:
Set-Mailbox “Joe Adams” -ForwardingAddress “foo@externaldomain.com”
To deliver a copy to the mailbox (in addition to the external email address – equivalent of step 4 above):
Set-Mailbox “Joe Adams” -ForwardingAddress “foo@externaldomain.com” -DeliverToMailboxAndForward $true
Listing users with forwarding enabled
This command lists mailboxes with auto forwarding enabled:
Get-Mailbox | where {$_.ForwardingAddress -ne $null} | ft name,forwardingaddress
Automatic forwarding and Remote Domains
Remote Domains define a bunch of settings, such as message formats, character sets, and OOFS for messages sent to specified domains outside your Exchange organization. The default Remote Domain setting for the address space * (the asterisk character) applies to all external domains except the ones for which you’ve created a Remote Domain for.
The Allow automatic forward setting for remote domains applies only to client-side forwarding using mechanisms like Inbox Rules. For instance, if a user creates a rule in Microsoft Outlook to automatically forward mail to an external email address, the default setting (for address space *) doesn’t allow it. To enable automatic client-side forwarding of mail to external addresses, select the Allow automatic forward checkbox in a remote domain’s properties | Format of original message sent as attachment to journal report tab (Yes, in Exchange 2007 the tab is mislabeled. It is the “Message Formats” tab… :).
Server-side email forwarding configured by an administrator, as shown in this post, is not impacted by this setting.
Comentarios
Publicar un comentario
Dime si la información de este blog te sirvio.