# Forwarding

Forward your support address to opendesk from Gmail, Google Workspace, Microsoft 365 or any provider, including the admin settings that allow it, and choose how replies are sent.

Forwarding is how mail reaches opendesk. It works with every provider and shares no password with opendesk. Every mailbox gets a private address, such as `margin-returns-cace@in.opendesk.sh`. You forward your support address to it, and every message becomes a ticket.

Customers never see the private address. Replies come from your address and answer to it, so when a customer writes back, the reply reaches your support address and is forwarded into the same ticket.

A mailbox that sends through Google or Microsoft receives this way too: that connection only sends replies from your address.

![Add a mailbox, done: the private forwarding address for returns@margin.app with its copy button ringed as 1, and the Google Workspace forwarding steps ringed as 2](https://heykefu.com/guides/mailboxes/forwarding-address.webp)

1. **The address to forward to**, with a copy button. It is also on the mailbox's page.
2. **Steps for your provider**: Gmail, Google Workspace, Microsoft 365, Outlook.com, or your detected provider under Other. The one that fits your address is selected. Each step has a button that opens the settings page it names, and below the steps are the provider's own guide and this page.

## Create a forwarding mailbox

**1. Add the mailbox and pick forwarding**

In **Settings**, open **Mailboxes** and click **Add mailbox**. Type a name and the address customers write to. Choose **Forward mail to opendesk** and click **Continue**.

**2. Choose how replies are sent**

- **Connect Google** or **Connect Microsoft**, for Gmail, Google Workspace, Microsoft 365 and Outlook.com addresses when your instance offers it: replies come from your address through the provider. You approve sending at the provider when you create the mailbox. opendesk can only send with this access, not read your mail.
- **Your SMTP server**: replies come from your address itself, through your mail server or a [sending service](/guides/mailboxes/#send-with-a-sending-service) such as Resend or Postmark. Enter the SMTP server, port, security, username and password, or pick the service to fill in its settings. opendesk signs in to it before it saves anything.

On your own instance, **Through opendesk** can be listed too: replies come from the instance's sending address with your mailbox's name. See [Sending through opendesk](/self-hosting/configuration/#sending-through-opendesk).

![The connect step for support@contoso.com: How replies are sent, with Connect Microsoft selected and Your SMTP server below it, ringed as 1, and the Continue with Microsoft button ringed as 2](https://heykefu.com/guides/mailboxes/microsoft-forwarding.webp)

Click **Continue with Microsoft** or **Continue with Google** (or **Connect** for SMTP). With Google or Microsoft, approve sending at the provider; it sends you back to opendesk.

**3. Copy the forwarding address**

The last step shows the private address and short steps for your provider, with a button on each step that opens the right settings page. Copy the address.

**4. Turn on forwarding at your provider**

Follow the steps for your provider below. Microsoft 365 and some Google Workspace organizations need an admin to allow forwarding to outside addresses first. Gmail sends a confirmation email: it arrives in opendesk as a ticket, so open it and click the link or copy the code.

**5. Send a test email**

Write to your support address from another account (**Write a test email** under the steps opens one). It shows up in **Unassigned** as a new ticket.

> **Good to know**
>
> - Sending with Google or Microsoft sign-in sends from your address with your domain's own SPF and DKIM, and keeps a copy in the mailbox's Sent folder. SMTP sends from your address too, through your mail server or a sending service that has verified your domain.
> - Self-hosted instances use their own inbound domain (`INBOUND_DOMAIN`). See [Email setup](/self-hosting/email/).

## Gmail

1. In Gmail, open **Settings** (the gear), then **See all settings**, then **Forwarding and POP/IMAP**, or go straight to [Forwarding and POP/IMAP](https://mail.google.com/mail/#settings/fwdandpop) signed in as the support address.
2. Click **Add a forwarding address** and paste your opendesk forwarding address. Click **Next**, then **Proceed**.
3. Gmail sends a confirmation email to that address. It arrives in opendesk as a ticket. Open it and either click the confirmation link or copy the code.
4. Back in Gmail's **Forwarding and POP/IMAP** tab, enter the code and click **Verify** (not needed if you clicked the link), then choose **Forward a copy of incoming mail to** your opendesk address.
5. Choose what Gmail does with its own copy (keeping it is fine) and click **Save Changes**.

To forward only some mail, skip step 4 and create a filter instead: **Create a filter** with your criteria, then **Forward it to** the opendesk address.

## Google Workspace

Each user can set up forwarding the same way as Gmail above. For a shared address or a Google Group, an admin can route mail at the domain level instead, without a mailbox sign-in:

1. In the Google Admin console, go to **Apps**, **Google Workspace**, **Gmail**, [**Routing**](https://admin.google.com/ac/apps/gmail/routing).
2. Under **Routing**, click **Configure** (or **Add another rule**).
3. Under **Email messages to affect**, choose **Inbound** (and **Internal - receiving** if colleagues email support too).
4. Under **For the above types of messages, do the following**, choose **Modify message**. Under **Envelope recipient**, check **Add more recipients**, click **Add**, and enter the opendesk forwarding address.
5. Under **Options**, limit the rule to your support address with an envelope filter: **Only affect specific envelope recipients**, single recipient `support@example.com`.
6. Save. Changes can take up to an hour to apply.

### Allow automatic forwarding (admin)

Per-user forwarding needs automatic forwarding to be allowed for the support user. If Gmail doesn't offer **Add a forwarding address**, an admin turns it on:

1. In the [Google Admin console](https://admin.google.com), go to **Apps**, **Google Workspace**, **Gmail**, **End User Access**.
2. Pick the organizational unit of the support user, open **Automatic forwarding** and check **Allow users to automatically forward incoming email to another address**. Save.

A routing rule, as above, works whatever this setting is.

## Microsoft 365 and Outlook

Microsoft 365 blocks automatic forwarding to outside addresses by default, through its outbound spam policy. An admin allows it once, then forwards the mailbox.

![Add a mailbox for support@contoso.com, done: the private forwarding address ringed as 1, and the Microsoft 365 forwarding steps ringed as 2](https://heykefu.com/guides/mailboxes/microsoft-forward-to.webp)

### Allow forwarding to outside addresses (admin)

1. Open the Microsoft Defender portal, then **Email & collaboration**, **Policies & rules**, **Threat policies**, [**Anti-spam**](https://security.microsoft.com/antispam).
2. Choose one:
   - **A policy for the support mailbox only** (the tidier choice): click **Create policy**, then **Outbound**. Name it, and under **Users** add the support mailbox.
   - **Every mailbox**: open **Anti-spam outbound policy (Default)** and click **Edit protection settings**.
3. Under **Forwarding rules**, set **Automatic forwarding rules** to **On - Forwarding is enabled**. Save.

It can take a few minutes to apply. Until it does, Microsoft returns forwarded mail to the sender with an error such as `550 5.7.520 Access denied`.

### Forward the mailbox

Either set forwarding on the mailbox (admin):

1. In the Exchange admin center, open **Recipients**, [**Mailboxes**](https://admin.exchange.microsoft.com/#/mailboxes), and select the mailbox. In the [Microsoft 365 admin center](https://admin.microsoft.com), the same is under **Users**, **Active users** (or **Teams & groups**, **Shared mailboxes**).
2. Under **Mail flow settings**, find **Email forwarding** and choose **Manage email forwarding** (on the **Mail** tab in the Microsoft 365 admin center).
3. Turn on forwarding, enter the opendesk forwarding address, and keep **Deliver to both** on so the mailbox keeps a copy. Save.

Or create a rule in Outlook on the web (user):

1. Open **Settings**, **Mail**, [**Rules**](https://outlook.office.com/mail/options/mail/rules), **Add new rule**.
2. Name it and add the condition **Apply to all messages** (or narrower conditions).
3. Add the action **Forward to** (or **Redirect to**) and enter the opendesk forwarding address. Save.

Or, simpler, turn on [**Forwarding**](https://outlook.office.com/mail/options/mail/forwarding) in Outlook's settings as the mailbox, enter the opendesk forwarding address and keep a copy.

On Outlook.com, it is the same [**Forwarding**](https://outlook.live.com/mail/0/options/mail/forwarding) setting: turn on **Enable forwarding**, enter the address and keep a copy.

**Redirect** keeps the original sender. Both work, since opendesk reads the original headers, but redirect is the cleaner choice. To send replies from the mailbox itself, connect it with Microsoft sign-in, or send through Microsoft's SMTP server. See [Microsoft 365 and Outlook](/guides/mailboxes/microsoft/).

## Any other provider

Look for "forwarding" or "redirect" in your provider's mail settings or admin panel, and forward to your opendesk address. Most providers send a confirmation message first; it appears in opendesk as a ticket. Proton Mail can forward on its paid plans.

When opendesk recognizes your provider, the **Other** tab is named after it and links its guide:

| Provider | Guide |
| --- | --- |
| Zoho Mail | [Email forwarding](https://www.zoho.com/mail/help/email-forwarding.html) |
| Yahoo Mail | [Automatic forwarding](https://help.yahoo.com/kb/SLN22028.html) |
| iCloud Mail | [Automatically forward email](https://support.apple.com/guide/icloud/mm6b1a3960/icloud) |
| Fastmail | [Set up mail forwarding](https://www.fastmail.help/hc/en-us/articles/360058753434) |
| GoDaddy | [Forward Professional Email](https://www.godaddy.com/help/forward-professional-email-messages-to-another-address-32282) |
| Namecheap Private Email | [Set up forwarding](https://www.namecheap.com/support/knowledgebase/article.aspx/10784/2306/new-how-to-set-up-forwarding-in-namecheap-private-email/) |
| IONOS | [Forwarding for email addresses](https://www.ionos.com/help/email/setting-up-mail-basic/setting-up-forwarding-for-email-addresses/) |
| Hostinger | [Set up a forwarder](https://www.hostinger.com/support/1583221-how-to-set-up-a-forwarder-for-hostinger-email/) |
| OVHcloud | [Aliases and redirections](https://docs.ovhcloud.com/en/guides/web-cloud/email-and-collaborative-solutions/common-email-features/feature-redirections) |
| Migadu | [Forwarding](https://migadu.com/guides/forwarding/) |
| Purelymail | [Routing](https://purelymail.com/docs/routing) |
| Rackspace Email | [Set up forwarding](https://docs.rackspace.com/docs/set-up-rackspace-email-forwarding) |
| Yandex Mail | [Forwarding to another address](https://www.yandex.com/support/mail/web/preferences/filters/forwarding.html) |
| Proton Mail | [Email forwarding](https://proton.me/support/email-forwarding) |

## Troubleshooting

- **Nothing arrives.** The mailbox's page shows when mail last arrived, and warns when none has come for a week, or a day after you added the address. Check that the forwarding rule is on and points at the exact address from the mailbox's page. In Microsoft 365, check that the outbound spam policy allows automatic forwarding; in Google Workspace, that automatic forwarding is allowed for the user.
- **The wrong person is the sender.** Use redirect rather than forward where your provider offers both.
- **Duplicates.** Each message is stored once, by its Message-ID, so the same message delivered twice doesn't open a second ticket.
- **Your own mail turns into tickets.** Mail opendesk sent from the mailbox's own address or its aliases is skipped, and so is mail from opendesk's forwarding addresses and automatic mail like out-of-office replies. Mail another system sends as the mailbox's address, like a booking tool's notices, opens a ticket; when it is written to a customer, the ticket is theirs (see [Mail you send customers from your own addresses](/guides/mailboxes/#mail-you-send-customers-from-your-own-addresses)).

## Related

- [Connect a mailbox](/guides/mailboxes/)
- [Gmail and Google Workspace](/guides/mailboxes/google/)
- [Microsoft 365 and Outlook](/guides/mailboxes/microsoft/)
- [Other providers](/guides/mailboxes/imap-smtp/)
