From owner-freebsd-hackers Mon Apr 22 11:31:35 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA24957 for hackers-outgoing; Mon, 22 Apr 1996 11:31:35 -0700 (PDT) Received: from Arizona.EDU (Penny.Telcom.Arizona.EDU [128.196.128.217]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA24948 for ; Mon, 22 Apr 1996 11:31:33 -0700 (PDT) Received: from sun1paztcn.wr.usgs.gov by Arizona.EDU (PMDF V5.0-5 #2381) id <01I3U9VUQKO0CDR0S7@Arizona.EDU>; Mon, 22 Apr 1996 11:31:02 -0700 (MST) Received: from localhost by sun1paztcn.wr.usgs.gov (4.1/SMI-4.1) id AA04018; Mon, 22 Apr 1996 11:29:51 -0700 (MST) Date: Mon, 22 Apr 1996 11:29:50 -0700 From: Doug Wellington Subject: Re: .forward and sendmail? In-reply-to: "Your message of Mon, 22 Apr 1996 12:46:09 -0400." <199604221646.MAA10587@crh.cl.msu.edu> To: Charles Henrich Cc: freebsd-hackers@FreeBSD.ORG, doug@sun1paztcn.wr.usgs.gov Message-id: <9604221829.AA04018@sun1paztcn.wr.usgs.gov> MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Previously: ># more /root/.forward >henrich >---- > >If I send mail to root@mymachine, it goes to /var/mail/root, instead of being >forwarded. root's homedir is /root... This makes no sense! Might I suggest that you use an alias instead? Edit the file /etc/aliases and then run the newaliases command. For example, my aliases file looks like: MAILER-DAEMON: postmaster Postmaster: root root: doug nobody: /dev/null In theory this is more secure as well... BTW, did you mention which version of sendmail you were using? -Doug Doug Wellington doug@sun1paztcn.wr.usgs.gov System and Network Administrator US Geological Survey Tucson, AZ Project Office (602) 670-6821 x26 According to proposed Federal guidelines, this message is a "non-record". Hmm, I wonder if _everything_ I say is a "non-record"... The hardest thing in the world is to truly think for oneself. It is amazing how many people have let angst replace their self confidence.