Global Configuration
These options affect multiple parts of Inbucket.
Log Level
- Name:
INBUCKET_LOGLEVEL
- Default:
info
- Values: one of
debug
,info
,warn
, orerror
This setting controls the verbosity of log output. A small desktop installation
should probably select info
, but a busy shared installation would be better
off with warn
or error
.
Lua Script
- Name:
INBUCKET_LUA_PATH
- Default:
inbucket.lua
- Values: relative or fully qualified path to a file
This is the path to the (optional) Inbucket Lua script. If the specified file is present, Inbucket will load it during startup. Ignored if the file is not found, or the setting is empty.
Mailbox Naming
- Name:
INBUCKET_MAILBOXNAMING
- Default:
local
- Values: one of
local
orfull
ordomain
The mailbox naming setting determines the name of a mailbox for an incoming message, and thus where it must be retrieved from later.
Prior to the addition of the mailbox naming setting, Inbucket always operated in
local
mode. Regardless of this setting, the +
wildcard/extension is not
incorporated into the mailbox name.
Naming Modes
local
ensures the domain is removed, such that:
james@inbucket.org
is stored injames
james+spam@inbucket.org
is stored injames
full
retains the domain as part of the name, such that:
james@inbucket.org
is stored injames@inbucket.org
james+spam@inbucket.org
is stored injames@inbucket.org
domain
ensures the local-part is removed, such that:
james@inbucket.org
is stored ininbucket.org
matt@inbucket.org
is stored ininbucket.org
matt@notinbucket.com
is stored innotinbucket.com