更新 'smtp.go'

master
james 3 months ago
parent c16c9bb679
commit c8fe35f71c
  1. 4
      smtp.go

@ -7,7 +7,7 @@ import (
"strings"
"time"
"github.com/watsonserve/maild"
"git.watsonserve.com/maild/base"
)
// helo命令
@ -114,7 +114,7 @@ func data(ctx *smtp_context_t) {
format := "from %s ([%s]) by %s over TLS secured channel with %s(%s)\r\n\t%d"
ctx.Module = mod_HEAD
config := ctx.conf
ele := &maild.KV{
ele := &base.KV{
Name: "Received",
Value: fmt.Sprintf(format, config.Domain, config.Ip, config.Domain, config.Name, config.Version, time.Now().Unix()),
}

Loading…
Cancel
Save