Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai3
docker
lurker
Commits
9fe808d3
Commit
9fe808d3
authored
Aug 02, 2019
by
ale
Browse files
Disable debug protocol logging
parent
f3c01bfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
smtpd.go
View file @
9fe808d3
...
...
@@ -109,7 +109,7 @@ func main() {
Hostname
:
*
hostname
,
RecipientChecker
:
checkRecipient
,
Handler
:
handleMessage
,
ProtocolLogger
:
log
.
New
(
os
.
Stderr
,
"smtp: "
,
0
),
//
ProtocolLogger: log.New(os.Stderr, "smtp: ", 0),
}
if
err
:=
server
.
ListenAndServe
(
fmt
.
Sprintf
(
":%d"
,
*
port
));
err
!=
nil
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment