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
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. More information here.

More information