diff --git a/usr.sbin/sendmail/src/deliver.c b/usr.sbin/sendmail/src/deliver.c index 42661221e520..233e72c51698 100644 --- a/usr.sbin/sendmail/src/deliver.c +++ b/usr.sbin/sendmail/src/deliver.c @@ -950,7 +950,7 @@ deliver(e, firstto) } errno = 0; - CurHostName = m->m_mailer; + CurHostName = host; /* ** Deal with the special case of mail handled through an IPC