Other: increase SMTP line limit to 2^16

This commit is contained in:
James Houlahan
2021-03-17 11:33:06 +01:00
parent 215eb4d6eb
commit 45a83133ba
2 changed files with 40 additions and 0 deletions

View File

@ -42,6 +42,7 @@ func NewSMTPServer(debug bool, port int, useSSL bool, tls *tls.Config, smtpBacke
s.TLSConfig = tls
s.Domain = bridge.Host
s.AllowInsecureAuth = true
s.MaxLineLength = 2 << 16
if debug {
fmt.Println("THE LOG WILL CONTAIN **DECRYPTED** MESSAGE DATA")