Use package name for log module

This commit is contained in:
s0ph0s 2024-12-13 23:06:22 -05:00
parent 966fc382a5
commit f02e04df72

View file

@ -264,7 +264,7 @@ func Listen() http.FnALPNHelper {
}
if listener.Submissions.EnableOnHTTPS && alpnHelper == nil {
alpnHelper = func(tc *tls.Config, conn net.Conn) {
log := mlog.New("smtp-alpn", nil)
log := mlog.New("smtpserver", nil)
resolver := dns.StrictResolver{Log: log.Logger}
serve(name, mox.Cid(), hostname, tc, conn, resolver, true, true, maxMsgSize, true, true, true, nil, 0)
}