Improve compatibility of Received line

This commit is contained in:
Bernhard Froehlich 2018-12-14 13:04:02 +00:00
parent 0002b7c334
commit 52710f748c
No known key found for this signature in database
GPG Key ID: 4DD88C3F9F3B8333

@ -40,7 +40,7 @@ func (env *Envelope) AddReceivedLine(peer Peer) {
}
line := wrap([]byte(fmt.Sprintf(
"Received: from %s [%s] by %s with %s;%s\r\n\t%s\r\n",
"Received: from %s ([%s]) by %s with %s;%s\r\n\t%s\r\n",
peer.HeloName,
peerIP,
peer.ServerName,