Skip to content

Commit 030ce09

Browse files
committed
Update smtpd.go
1 parent 0251394 commit 030ce09

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/smtpd/smtpd.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,13 @@ func (smtp *SmtpdServer) D(format string, args ...interface{}) {
207207
info := fmt.Sprintf(format, args...)
208208
info = strings.TrimSpace(info)
209209

210-
if smtp.LinkSSL {
211-
log.Debugf("[SSL]:%s", info)
212-
return
213-
}
214-
215210
if conf.Smtp.Debug {
216211
log.Debug(info)
212+
213+
if smtp.LinkSSL {
214+
log.Debugf("[SSL]:%s", info)
215+
return
216+
}
217217
}
218218
}
219219

0 commit comments

Comments
 (0)