Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/configuration/configuring_inbound_email.diviner
Show All 36 Lines | |||||
delivered to Phabricator for processing. This step can be made much easier if | delivered to Phabricator for processing. This step can be made much easier if | ||||
you use a third-party mail service which can submit mail to Phabricator via | you use a third-party mail service which can submit mail to Phabricator via | ||||
webhooks. | webhooks. | ||||
Some available approaches for delivering mail to Phabricator are: | Some available approaches for delivering mail to Phabricator are: | ||||
| Receive Mail With | Setup | Cost | Notes | | | Receive Mail With | Setup | Cost | Notes | | ||||
|--------|-------|------|-------| | |--------|-------|------|-------| | ||||
| Mailgun | Easy | Cheap | Recommended | | |||||
| Postmark | Easy | Cheap | Recommended | | | Postmark | Easy | Cheap | Recommended | | ||||
| SendGrid | Easy | Cheap | | | | SendGrid | Easy | Cheap | | | ||||
| Mailgun | Easy | Cheap | Discouraged | | |||||
| Local MTA | Difficult | Free | Discouraged | | | Local MTA | Difficult | Free | Discouraged | | ||||
The remainder of this document walks through configuring Phabricator to | The remainder of this document walks through configuring Phabricator to | ||||
receive mail, and then configuring your chosen transport to deliver mail | receive mail, and then configuring your chosen transport to deliver mail | ||||
to Phabricator. | to Phabricator. | ||||
Configuring "Reply" Email | Configuring "Reply" Email | ||||
▲ Show 20 Lines • Show All 122 Lines • ▼ Show 20 Lines | |||||
like this: | like this: | ||||
- Configure a mail domain according to Mailgun's instructions. | - Configure a mail domain according to Mailgun's instructions. | ||||
- Add a Mailgun route with a `catch_all()` rule which takes the action | - Add a Mailgun route with a `catch_all()` rule which takes the action | ||||
`forward("https://phabricator.example.com/mail/mailgun/")`. Replace the | `forward("https://phabricator.example.com/mail/mailgun/")`. Replace the | ||||
example domain with your actual domain. | example domain with your actual domain. | ||||
- Configure a mailer in `cluster.mailers` with your Mailgun API key. | - Configure a mailer in `cluster.mailers` with your Mailgun API key. | ||||
Use of Mailgun is discouraged because of concerns that they may not be a | |||||
trustworthy custodian of sensitive data. See <https://phurl.io/u/mailgun> for | |||||
discussion and context. | |||||
Postmark Setup | Postmark Setup | ||||
============== | ============== | ||||
To process inbound mail from Postmark, configure this URI as your inbound | To process inbound mail from Postmark, configure this URI as your inbound | ||||
webhook URI in the Postmark control panel: | webhook URI in the Postmark control panel: | ||||
``` | ``` | ||||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |