From owner-freebsd-questions Mon Jun 16 12:26:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA24743 for questions-outgoing; Mon, 16 Jun 1997 12:26:45 -0700 (PDT) Received: from denver.net (milehigh.denver.net [204.144.180.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA24737 for ; Mon, 16 Jun 1997 12:26:41 -0700 (PDT) Received: from localhost (jdc@localhost) by denver.net (8.8.5/8.8.5) with SMTP id NAA05030; Mon, 16 Jun 1997 13:27:51 -0600 (MDT) Date: Mon, 16 Jun 1997 13:27:51 -0600 (MDT) From: John-David Childs To: Joćo Assad cc: questions@FreeBSD.ORG Subject: Re: mail In-Reply-To: <33A584F2.7FB290F2@domain.com.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id MAA24738 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 16 Jun 1997, Joćo Assad wrote: > Hello, > > > When I send an e-mail it is sent in the following format : > username@hostname.domain name > I would like to send my e-mails in the following format : > username@domain name > > Whow can I do that ? > Two ways, easy and not so easy: easy: change your hostname to domain.name in /etc/sysconfig (or /etc/rc.conf in 2.2.2) not so easy (but not hard either): use the domaintable feature of sendmail to rewrite hostname.domain.name -> domain.name See the sendmail.cf doc in /usr/src/usr.sbin/sendmail/cf/README -- John-David Childs (JC612) http://www.denver.net System Administrator jdc@denver.net & Network Engineer Think, Listen, Look, THEN Act! "A verbal contract isn't worth the paper it's written on" - Louis B Mayer