Mail-in-a-Box :: Let’s Encrypt client and ACME library written in Go.
Author: Lego Team
Description: Configuration for Mail-in-a-Box.
Date: 2019-03-03T16:39:46+01:00

# Mail-in-a-Box

Configuration for Mail-in-a-Box.

- Code: `mailinabox`
- Since: v4.16.0

Here is an example bash command using the Mail-in-a-Box provider:

    MAILINABOX_EMAIL=user@example.com \
    MAILINABOX_PASSWORD=yyyy \
    MAILINABOX_BASE_URL=https://box.example.com \
    lego --email you@example.com --dns mailinabox -d '*.example.com' -d example.com 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. More information here.

## Additional Configuration

Environment Variable Name | Description
--- | ---
`MAILINABOX_POLLING_INTERVAL` | Time between DNS propagation check in seconds (Default: 4)
`MAILINABOX_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation in seconds (Default: 120)

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. More information here.

## More information

- API documentation