mirror of
https://github.com/axllent/mailpit.git
synced 2025-01-04 00:15:54 +02:00
Add MP_TAG environment option
This commit is contained in:
parent
6bc02fd4d4
commit
cbbac40c0d
@ -85,6 +85,9 @@ func init() {
|
||||
if len(os.Getenv("MP_MAX_MESSAGES")) > 0 {
|
||||
config.MaxMessages, _ = strconv.Atoi(os.Getenv("MP_MAX_MESSAGES"))
|
||||
}
|
||||
if len(os.Getenv("MP_TAG")) > 0 {
|
||||
config.SMTPCLITags = os.Getenv("MP_TAG")
|
||||
}
|
||||
if len(os.Getenv("MP_UI_AUTH_FILE")) > 0 {
|
||||
config.UIAuthFile = os.Getenv("MP_UI_AUTH_FILE")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user