Re-HELO has no function for us

This commit is contained in:
Nicolai Langfeldt
2025-04-24 12:38:25 +02:00
parent 3da9e780ed
commit 095847db1d
2 changed files with 0 additions and 8 deletions

View File

@ -102,12 +102,6 @@ func handshake(client *smtp.Client, config *relayConfig, tlsConfig *tls.Config)
if err := client.StartTLS(tlsConfig); err != nil {
return errors.Wrap(err, "starttls error")
}
// Re-HELO after STARTTLS
if config.HeloHost != "" {
if err := client.Hello(config.HeloHost); err != nil {
return errors.Wrap(err, "HELO error")
}
}
}

2
go.mod
View File

@ -1,7 +1,5 @@
replace github.com/wiggin77/mailrelay => github.com/niclan/mailrelay
module github.com/niclan/mailrelay
// module github.com/wiggin77/mailrelay
go 1.14