From c8bf742c18252746ac7980dbdc9661ab425ca4ab Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Fri, 9 Dec 2022 10:27:37 +1300 Subject: [PATCH 1/2] Bugfix: Allow tags to be set from MP_TAG environment Relates to #26 --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index 4eba4d075..7e1f72b76 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -142,7 +142,7 @@ func init() { rootCmd.Flags().StringVar(&config.SMTPAuthFile, "smtp-auth-file", config.SMTPAuthFile, "A password file for SMTP authentication") rootCmd.Flags().StringVar(&config.SMTPSSLCert, "smtp-ssl-cert", config.SMTPSSLCert, "SSL certificate for SMTP - requires smtp-ssl-key") rootCmd.Flags().StringVar(&config.SMTPSSLKey, "smtp-ssl-key", config.SMTPSSLKey, "SSL key for SMTP - requires smtp-ssl-cert") - rootCmd.Flags().StringVarP(&config.SMTPCLITags, "tag", "t", config.SMTPSSLKey, "Tag new messages matching filters") + rootCmd.Flags().StringVarP(&config.SMTPCLITags, "tag", "t", config.SMTPCLITags, "Tag new messages matching filters") rootCmd.Flags().BoolVarP(&config.QuietLogging, "quiet", "q", false, "Quiet logging (errors only)") rootCmd.Flags().BoolVarP(&config.VerboseLogging, "verbose", "v", false, "Verbose logging") From 10752a58c8305f4a942e39d0b0a6ce90e2422c10 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Fri, 9 Dec 2022 10:28:21 +1300 Subject: [PATCH 2/2] Release v1.3.4 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8db5256f2..169eeee41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ Notable changes to Mailpit will be documented in this file. +## v1.3.4 + +### Bugfix +- Allow tags to be set from MP_TAG environment + + ## v1.3.3 ### Bugfix