-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added ability to set alias-specific and domain-wide storage quo…
…ta limitations, drop pretty-bytes in favor of bytes
- Loading branch information
Showing
46 changed files
with
569 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -609,6 +609,7 @@ curl BASE_URI/v1/domains \ | |
| `ignore_mx_check` | No | Boolean | Whether to ignore the MX record check on the domain for verification. This is mainly for users that have advanced MX exchange configuration rules and need to keep their existing MX exchange and forward to ours. | | ||
| `retention_days` | No | Number | Integer between `0` and `30` that corresponds to the number of retention days to store outbound SMTP emails once successfully delivered or permanently errored. Defaults to `0`, which means that outbound SMTP emails are purged and redacted immediately for your security. | | ||
| `bounce_webhook` | No | String (URL) or Boolean (false) | The `http://` or `https://` webhook URL of your choice to send bounce webhooks to. We will submit a `POST` request to this URL with information on outbound SMTP failures (e.g. soft or hard failures – so you can manage your subscribers and programmatically manage your outbound email). | | ||
| `max_quota_per_alias` | No | String | Storage maximum quota for aliases on this domain name. Enter a value such as "1 GB" that will be parsed by [bytes](https://github.com/visionmedia/bytes.js). | | ||
|
||
> Example Request: | ||
|
@@ -656,6 +657,7 @@ curl BASE_URI/v1/domains/DOMAIN_NAME/verify-records \ | |
| `ignore_mx_check` | No | Boolean | Whether to ignore the MX record check on the domain for verification. This is mainly for users that have advanced MX exchange configuration rules and need to keep their existing MX exchange and forward to ours. | | ||
| `retention_days` | No | Number | Integer between `0` and `30` that corresponds to the number of retention days to store outbound SMTP emails once successfully delivered or permanently errored. Defaults to `0`, which means that outbound SMTP emails are purged and redacted immediately for your security. | | ||
| `bounce_webhook` | No | String (URL) or Boolean (false) | The `http://` or `https://` webhook URL of your choice to send bounce webhooks to. We will submit a `POST` request to this URL with information on outbound SMTP failures (e.g. soft or hard failures – so you can manage your subscribers and programmatically manage your outbound email). | | ||
| `max_quota_per_alias` | No | String | Storage maximum quota for aliases on this domain name. Enter a value such as "1 GB" that will be parsed by [bytes](https://github.com/visionmedia/bytes.js). | | ||
|
||
> Example Request: | ||
|
@@ -812,6 +814,7 @@ curl BASE_URI/v1/domains/DOMAIN_NAME/aliases?pagination=true \ | |
| `has_imap` | No | Boolean | Whether to enable or disable IMAP storage for this alias (if disabled, then inbound emails received will not get stored to [IMAP storage](/blog/docs/best-quantum-safe-encrypted-email-service). If a value is passed, it is converted to a boolean using [boolean](https://github.com/thenativeweb/boolean#quick-start)) | | ||
| `has_pgp` | No | Boolean | Whether to enable or disable [OpenPGP encryption](/faq#do-you-support-openpgpmime-end-to-end-encryption-e2ee-and-web-key-directory-wkd) for [IMAP/POP3/CalDAV encrypted email storage](/blog/docs/best-quantum-safe-encrypted-email-service) using the alias' `public_key`. | | ||
| `public_key` | No | String | OpenPGP public key in ASCII Armor format ([click here to view an example](/.well-known/openpgpkey/hu/mxqp8ogw4jfq83a58pn1wy1ccc1cx3f5.txt); e.g. GPG key for `[email protected]`). This only applies if you have `has_pgp` set to `true`. [Learn more about end-to-end encryption in our FAQ](/faq#do-you-support-openpgpmime-end-to-end-encryption-e2ee-and-web-key-directory-wkd). | | ||
| `max_quota` | No | String | Storage maximum quota for this alias. Leave blank to reset to domain current maximum quota or enter a value such as "1 GB" that will be parsed by [bytes](https://github.com/visionmedia/bytes.js). This value can only be adjusted by domain admins. | | ||
|
||
> Example Request: | ||
|
@@ -858,6 +861,7 @@ curl BASE_URI/v1/domains/:domain_name/aliases/:alias_name \ | |
| `has_imap` | No | Boolean | Whether to enable or disable IMAP storage for this alias (if disabled, then inbound emails received will not get stored to [IMAP storage](/blog/docs/best-quantum-safe-encrypted-email-service). If a value is passed, it is converted to a boolean using [boolean](https://github.com/thenativeweb/boolean#quick-start)) | | ||
| `has_pgp` | No | Boolean | Whether to enable or disable [OpenPGP encryption](/faq#do-you-support-openpgpmime-end-to-end-encryption-e2ee-and-web-key-directory-wkd) for [IMAP/POP3/CalDAV encrypted email storage](/blog/docs/best-quantum-safe-encrypted-email-service) using the alias' `public_key`. | | ||
| `public_key` | No | String | OpenPGP public key in ASCII Armor format ([click here to view an example](/.well-known/openpgpkey/hu/mxqp8ogw4jfq83a58pn1wy1ccc1cx3f5.txt); e.g. GPG key for `[email protected]`). This only applies if you have `has_pgp` set to `true`. [Learn more about end-to-end encryption in our FAQ](/faq#do-you-support-openpgpmime-end-to-end-encryption-e2ee-and-web-key-directory-wkd). | | ||
| `max_quota` | No | String | Storage maximum quota for this alias. Leave blank to reset to domain current maximum quota or enter a value such as "1 GB" that will be parsed by [bytes](https://github.com/visionmedia/bytes.js). This value can only be adjusted by domain admins. | | ||
|
||
> Example Request: | ||
|
Oops, something went wrong.