From d4d4d97088dabaf0600622d063993f578da22b65 Mon Sep 17 00:00:00 2001 From: choualjp <129216201+choualjp@users.noreply.github.com> Date: Thu, 30 Mar 2023 19:39:16 +0200 Subject: [PATCH 1/2] Update CONFIG.md --- docs/CONFIG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CONFIG.md b/docs/CONFIG.md index 97cf0c55..515653e4 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -6,16 +6,16 @@ You can configure MailHog using command line options or environment variables: | Environment | Command line | Default | Description | ------------------- | --------------- | --------------- | ----------- | MH_CORS_ORIGIN | -cors-origin | | If set, an Access-Control-Allow-Origin header is returned for API endpoints -| MH_HOSTNAME | -hostname | mailhog.example | Hostname to use for EHLO/HELO and message IDs +| MH_HOSTNAME | -hostname | localhost:10018 | Hostname to use for EHLO/HELO and message IDs | MH_API_BIND_ADDR | -api-bind-addr | 0.0.0.0:8025 | Interface and port for HTTP API server to bind to | MH_UI_BIND_ADDR | -ui-bind-addr | 0.0.0.0:8025 | Interface and port for HTTP UI server to bind to | MH_MAILDIR_PATH | -maildir-path | | Maildir path (for maildir storage backend) | MH_MONGO_COLLECTION | -mongo-coll | messages | MongoDB collection name for message storage | MH_MONGO_DB | -mongo-db | mailhog | MongoDB database name for message storage | MH_MONGO_URI | -mongo-uri | 127.0.0.1:27017 | MongoDB host and port -| MH_SMTP_BIND_ADDR | -smtp-bind-addr | 0.0.0.0:1025 | Interface and port for SMTP server to bind to +| MH_SMTP_BIND_ADDR | -smtp-bind-addr | localhost:1025 | Interface and port for SMTP server to bind to | MH_STORAGE | -storage | memory | Set message storage: memory / mongodb / maildir -| MH_OUTGOING_SMTP | -outgoing-smtp | | JSON file defining outgoing SMTP servers +| MH_OUTGOING_SMTP | -outgoing-smtp | localhost:1025 | JSON file defining outgoing SMTP servers | MH_UI_WEB_PATH | -ui-web-path | | WebPath under which the UI is served (without leading or trailing slashes), e.g. 'mailhog' | MH_AUTH_FILE | -auth-file | | A username:bcryptpw mapping file From 4452aabdbdfe23a48ab68cc116b59377e92a6865 Mon Sep 17 00:00:00 2001 From: choualjp <129216201+choualjp@users.noreply.github.com> Date: Thu, 30 Mar 2023 19:52:14 +0200 Subject: [PATCH 2/2] Update CONFIG.md --- docs/CONFIG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CONFIG.md b/docs/CONFIG.md index 515653e4..ccecdf89 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -6,16 +6,16 @@ You can configure MailHog using command line options or environment variables: | Environment | Command line | Default | Description | ------------------- | --------------- | --------------- | ----------- | MH_CORS_ORIGIN | -cors-origin | | If set, an Access-Control-Allow-Origin header is returned for API endpoints -| MH_HOSTNAME | -hostname | localhost:10018 | Hostname to use for EHLO/HELO and message IDs +| MH_HOSTNAME | -hostname | localhost | Hostname to use for EHLO/HELO and message IDs | MH_API_BIND_ADDR | -api-bind-addr | 0.0.0.0:8025 | Interface and port for HTTP API server to bind to | MH_UI_BIND_ADDR | -ui-bind-addr | 0.0.0.0:8025 | Interface and port for HTTP UI server to bind to | MH_MAILDIR_PATH | -maildir-path | | Maildir path (for maildir storage backend) | MH_MONGO_COLLECTION | -mongo-coll | messages | MongoDB collection name for message storage | MH_MONGO_DB | -mongo-db | mailhog | MongoDB database name for message storage | MH_MONGO_URI | -mongo-uri | 127.0.0.1:27017 | MongoDB host and port -| MH_SMTP_BIND_ADDR | -smtp-bind-addr | localhost:1025 | Interface and port for SMTP server to bind to +| MH_SMTP_BIND_ADDR | -smtp-bind-addr | localhost:1025 | Interface and port for SMTP server to bind to | MH_STORAGE | -storage | memory | Set message storage: memory / mongodb / maildir -| MH_OUTGOING_SMTP | -outgoing-smtp | localhost:1025 | JSON file defining outgoing SMTP servers +| MH_OUTGOING_SMTP | -outgoing-smtp | localhost:1025 | JSON file defining outgoing SMTP servers | MH_UI_WEB_PATH | -ui-web-path | | WebPath under which the UI is served (without leading or trailing slashes), e.g. 'mailhog' | MH_AUTH_FILE | -auth-file | | A username:bcryptpw mapping file