mirror of
https://github.com/wiggin77/mailrelay.git
synced 2025-08-12 08:29:09 +02:00
Re-HELO has no function for us
This commit is contained in:
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user