mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 01:57:02 +00:00
Add a ForceTLS flag for SMTP. (#402)
When this is enabled, the server listens with TLS instead of waiting for STARTTLS. Signed-off-by: Benson Margulies <bimargulies@google.com>
This commit is contained in:
@@ -90,6 +90,7 @@ type SMTP struct {
|
||||
TLSPrivKey string `default:"cert.key" desc:"X509 Private Key file for TLS Support"`
|
||||
TLSCert string `default:"cert.crt" desc:"X509 Public Certificate file for TLS Support"`
|
||||
Debug bool `ignored:"true"`
|
||||
ForceTLS bool `default:"false" desc:"Listen for connections with TLS."`
|
||||
}
|
||||
|
||||
// POP3 contains the POP3 server configuration.
|
||||
|
||||
Reference in New Issue
Block a user