Skip to content

Commit

Permalink
fix(XFORWARD): Fixed client hostname processing. Fixes #147
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Oct 21, 2024
1 parent 18ad40f commit d518417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/smtp-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ class SMTPConnection extends EventEmitter {
this.remotePort = value;
break;
case 'HELO':
value = Number(value) || 0;
value = (value || '').toString().toLowerCase();
this._server.logger.info(
{
tnx: 'xforward',
Expand Down

0 comments on commit d518417

Please sign in to comment.