Skip to content

Commit

Permalink
Update smtpd.go
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Sep 29, 2022
1 parent 0251394 commit 030ce09
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/smtpd/smtpd.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,13 @@ func (smtp *SmtpdServer) D(format string, args ...interface{}) {
info := fmt.Sprintf(format, args...)
info = strings.TrimSpace(info)

if smtp.LinkSSL {
log.Debugf("[SSL]:%s", info)
return
}

if conf.Smtp.Debug {
log.Debug(info)

if smtp.LinkSSL {
log.Debugf("[SSL]:%s", info)
return
}
}
}

Expand Down

0 comments on commit 030ce09

Please sign in to comment.