summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-01-28 04:09:05 +0000
committerache <ache@FreeBSD.org>1995-01-28 04:09:05 +0000
commitb7612583e7856235523d396f3cd3f7a5088c81f1 (patch)
tree6fd5e4217c272ecab61d80aa68234545e8c41a69 /usr.sbin
parent745d0dc6a017088f4d117ac505529559a3fd4eb5 (diff)
downloadFreeBSD-src-b7612583e7856235523d396f3cd3f7a5088c81f1.zip
FreeBSD-src-b7612583e7856235523d396f3cd3f7a5088c81f1.tar.gz
Fix configurations in which mail route depends of the name
of sender host. Submitted by: vak@cronyx.msk.su
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sendmail/src/deliver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sendmail/src/deliver.c b/usr.sbin/sendmail/src/deliver.c
index 4266122..233e72c 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
OpenPOWER on IntegriCloud