Send domain with HELO

This commit is contained in:
dac%x.cx 2000-04-27 21:33:14 +00:00
parent 8423f4213d
commit a4a3940c86

View File

@ -741,10 +741,10 @@ sendSMTPStart(ptcx_t ptcx, mail_command_t *cmd, cmd_stats_t *ptimer)
if (pish->useEHLO != 0) {
/* send extended EHLO */
sprintf(command, "EHLO %s%s", gs_thishostname, CRLF);
sprintf(command, "EHLO %s" CRLF, gs_thishostname);
} else {
/* send normal HELO */
sprintf(command, "HELO%s", CRLF);
sprintf(command, "HELO %s" CRLF, gs_thishostname);
}
event_start(ptcx, &stats->cmd);
rc = doSmtpCommandResponse(ptcx, ptcx->sock, command, respBuffer, sizeof(respBuffer));