From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Kelly Subject: Here's an easy one Date: Thu, 20 Mar 2003 14:55:14 +0100 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3E79C842.86E68C18@transparency.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: Linux Admin ..or at least I assume it is and I just can't thinks straight with this head cold. Hi all; quick hostname question: When mail is sent to a local user (mail -s "bla" user < file) it's passed to the MTA as user@localhost. The same is passed as the From address when the vacation program is run by user. So where does the localhost expansion take place? My problem here is that I'm getting user@host.domain.name when what I want is user@domain.name I'm flying RH 7.2 and Sendmail 8.12.5 (patched) on this particular box, by the way. Sendmail -d0.1 -bt