@@ -60,34 +60,19 @@ mini-mail-dev
60
60
61
61
Options:
62
62
63
- ```
64
- Usage of mini-mail-dev
65
- --disable-web Disable the web interface
66
- --http string HTTP server address (default "localhost:1080")
67
- --http-pass string HTTP server address, if empty no credentials required
68
- --http-user string HTTP server username, if empty no credentials required
69
- --max-emails uint16 The max amount of emails to keep (default 200)
70
- --smtp string SMTP server address (default "localhost:1025")
71
- --smtp-domain string SMTP server domain (default "localhost")
72
- --smtp-incoming-pass string SMTP server password, if empty no credentials required
73
- --smtp-incoming-user string SMTP server username, if empty no credentials required
74
- ```
75
-
76
- Environment variables
77
-
78
- _ These are used the same way as the arguments_
79
-
80
- ```
81
- DISABLE_WEB
82
- HTTP_ADDR
83
- HTTP_PASS
84
- HTTP_USER
85
- MAX_EMAILS
86
- SMTP_ADDR
87
- SMTP_DOMAIN
88
- SMTP_INCOMING_PASS
89
- SMTP_INCOMING_USER
90
- ```
63
+ | name | Flag | Envourment variable | Default |
64
+ | ---| ---| ---| ---|
65
+ | Disable web | ` --disable-web ` | ` DISABLE_WEB ` | ` false ` |
66
+ | HTTP address | ` --http ` | ` HTTP_ADDR ` | ` 0.0.0.0:1080 ` |
67
+ | HTTP password | ` --http-pass ` | ` HTTP_PASS ` | |
68
+ | HTTP username | ` --http-user ` | ` HTTP_USER ` | |
69
+ | Max emails | ` --max-emails ` | ` MAX_EMAILS ` | ` 200 ` |
70
+ | SMTP address | ` --smtp ` | ` SMTP_ADDR ` | ` 0.0.0.0:1025 ` |
71
+ | SMTP domain | ` --smtp-domain ` | ` SMTP_DOMAIN ` | ` localhost ` |
72
+ | SMTP incoming password | ` --smtp-incoming-pass ` | ` SMTP_INCOMING_PASS ` | |
73
+ | SMTP incoming username | ` --smtp-incoming-user ` | ` SMTP_INCOMING_USER ` | |
74
+
75
+ * Note that authentication is only enabled if you provided the relevant envourment variables*
91
76
92
77
## Build & Run
93
78
0 commit comments