tmms/mailhog

By tmms

Updated over 2 years ago

Image
0

97

Mailhog

  • tmms/mailhog:1.0.1 from mailhog/mailhog:1.0.1

Description

This image is built from the mailhog repository and contains the mailhog bin to receive mails without a custom smtp server.

Usage of MailHog:
  -api-bind-addr string
     HTTP bind interface and port for API, e.g. 0.0.0.0:8025 or just :8025 (default "0.0.0.0:8025")
  -api-host string
     API URL for MailHog UI to connect to, e.g. http://some.host:1234
  -auth-file string
     A username:bcryptpw mapping file
  -cors-origin string
     CORS Access-Control-Allow-Origin header for API endpoints
  -hostname string
     Hostname for EHLO/HELO response, e.g. mailhog.example (default "mailhog.example")
  -invite-jim
     Decide whether to invite Jim (beware, he causes trouble)
  -jim-accept float
     Chance of accept (default 0.99)
  -jim-disconnect float
     Chance of disconnect (default 0.005)
  -jim-linkspeed-affect float
     Chance of affecting link speed (default 0.1)
  -jim-linkspeed-max float
     Maximum link speed (in bytes per second) (default 10240)
  -jim-linkspeed-min float
     Minimum link speed (in bytes per second) (default 1024)
  -jim-reject-auth float
     Chance of rejecting authentication (AUTH) (default 0.05)
  -jim-reject-recipient float
     Chance of rejecting a recipient (RCPT TO) (default 0.05)
  -jim-reject-sender float
     Chance of rejecting a sender (MAIL FROM) (default 0.05)
  -maildir-path string
     Maildir path (if storage type is 'maildir')
  -mongo-coll string
     MongoDB collection, e.g. messages (default "messages")
  -mongo-db string
     MongoDB database, e.g. mailhog (default "mailhog")
  -mongo-uri string
     MongoDB URI, e.g. 127.0.0.1:27017 (default "127.0.0.1:27017")
  -outgoing-smtp string
     JSON file containing outgoing SMTP servers
  -smtp-bind-addr string
     SMTP bind interface and port, e.g. 0.0.0.0:1025 or just :1025 (default "0.0.0.0:1025")
  -storage string
     Message storage: 'memory' (default), 'mongodb' or 'maildir' (default "memory")
  -ui-bind-addr string
     HTTP bind interface and port for UI, e.g. 0.0.0.0:8025 or just :8025 (default "0.0.0.0:8025")
  -ui-web-path string
     WebPath under which the UI is served (without leading or trailing slashes), e.g. 'mailhog'. Value defaults to ''

Variables

NameValueAnnotations
BASE_DIR"/etc/mailhog"Required.
Mailhog configuration data dir
API_BIND_ADDR"0.0.0.0:8025"Required.
HTTP API bind address
SMTP_BIND_ADDR"0.0.0.0:1025"Required.
SMTP bin address

Docker Pull Command

docker pull tmms/mailhog