From owner-freebsd-questions Thu Jun 19 10:00:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA05799 for questions-outgoing; Thu, 19 Jun 1997 10:00:07 -0700 (PDT) Received: from roguetrader.com (cold.org [206.81.134.103]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA05788 for ; Thu, 19 Jun 1997 10:00:02 -0700 (PDT) Received: from localhost (brandon@localhost) by roguetrader.com (8.8.5/8.8.5) with SMTP id LAA02155 for ; Thu, 19 Jun 1997 11:00:04 -0600 (MDT) Date: Thu, 19 Jun 1997 11:00:04 -0600 (MDT) From: Brandon Gillespie To: freebsd-questions@freebsd.org Subject: sendmail picking default hostname to send from?? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ok, I have a machine with a few aliases (specifically five aliases, one primary ip). I want to know WHAT sendmail uses to decide is its real hostname? Its really starting to bug me, as I can't figure it out--and its not using the primary name. My system is aliased with the names: inet cold.org alias ice.cold.org alias surname.org alias solv.com alias gillespie.surname.org alias roguetrader.com Sendmail is setup with a directive: Fw-o /etc/sendmail/Hosts Where the Hosts file contains: cold.org ice.cold.org www.cold.org mail.cold.org adsolv.com www.adsolv.com mail.adsolv.com solv.com www.solv.com mail.solv.com surname.org www.surname.org mail.surname.org roguetrader.com Now, I'm thourougly confused, as sometimes when sendmail fires up it picks 'ice.cold.org' and sometimes it picks 'roguetrader.com'. In general this isn't a big deal, except for when I'm mailing to restricted lists that expect your address to stay the same--since its not I can't post often. Help? -Brandon Gillespie