Improve compatibility of Received line
This commit is contained in:
parent
0002b7c334
commit
52710f748c
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ func (env *Envelope) AddReceivedLine(peer Peer) {
|
||||||
}
|
}
|
||||||
|
|
||||||
line := wrap([]byte(fmt.Sprintf(
|
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,
|
peer.HeloName,
|
||||||
peerIP,
|
peerIP,
|
||||||
peer.ServerName,
|
peer.ServerName,
|
||||||
|
|
Loading…
Add table
Reference in a new issue