2024-02-24 02:31:16 +02:00
|
|
|
---
|
|
|
|
title: "Mail-in-a-Box"
|
|
|
|
date: 2019-03-03T16:39:46+01:00
|
|
|
|
draft: false
|
|
|
|
slug: mailinabox
|
|
|
|
dnsprovider:
|
|
|
|
since: "v4.16.0"
|
|
|
|
code: "mailinabox"
|
|
|
|
url: "https://mailinabox.email"
|
|
|
|
---
|
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/mailinabox/mailinabox.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
|
|
|
|
|
|
|
|
Configuration for [Mail-in-a-Box](https://mailinabox.email).
|
|
|
|
|
|
|
|
|
|
|
|
<!--more-->
|
|
|
|
|
|
|
|
- Code: `mailinabox`
|
|
|
|
- Since: v4.16.0
|
|
|
|
|
|
|
|
|
|
|
|
Here is an example bash command using the Mail-in-a-Box provider:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
MAILINABOX_EMAIL=user@example.com \
|
|
|
|
MAILINABOX_PASSWORD=yyyy \
|
|
|
|
MAILINABOX_BASE_URL=https://box.example.com \
|
|
|
|
lego --email you@example.com --dns mailinabox --domains my.example.org run
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Credentials
|
|
|
|
|
|
|
|
| Environment Variable Name | Description |
|
|
|
|
|-----------------------|-------------|
|
|
|
|
| `MAILINABOX_BASE_URL` | Base API URL (ex: https://box.example.com) |
|
|
|
|
| `MAILINABOX_EMAIL` | User email |
|
|
|
|
| `MAILINABOX_PASSWORD` | User password |
|
|
|
|
|
|
|
|
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
2024-08-14 23:55:11 +02:00
|
|
|
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
2024-02-24 02:31:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
## Additional Configuration
|
|
|
|
|
|
|
|
| Environment Variable Name | Description |
|
|
|
|
|--------------------------------|-------------|
|
|
|
|
| `MAILINABOX_POLLING_INTERVAL` | Time between DNS propagation check |
|
|
|
|
| `MAILINABOX_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
|
|
|
|
|
|
|
|
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
2024-08-14 23:55:11 +02:00
|
|
|
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
2024-02-24 02:31:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## More information
|
|
|
|
|
|
|
|
- [API documentation](https://mailinabox.email/api-docs.html)
|
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/mailinabox/mailinabox.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|