From owner-freebsd-questions@FreeBSD.ORG Wed Sep 20 05:24:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5689816A415 for ; Wed, 20 Sep 2006 05:24:51 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from mail.stovebolt.com (mail.stovebolt.com [66.221.101.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id B797043D4C for ; Wed, 20 Sep 2006 05:24:50 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from [192.168.2.102] (adsl-66-140-63-16.dsl.rcsntx.swbell.net [66.140.63.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.stovebolt.com (Postfix) with ESMTP id 122CD114314 for ; Wed, 20 Sep 2006 00:26:42 -0500 (CDT) Date: Wed, 20 Sep 2006 00:24:49 -0500 From: pauls@utdallas.edu To: FreeBSD Mailing List Message-ID: In-Reply-To: <2d6e28fbc9d4d02b9c37e9f9c2ee62d7@prodigy.net> References: <2d6e28fbc9d4d02b9c37e9f9c2ee62d7@prodigy.net> X-Mailer: Mulberry/4.0.5 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========E155C30A35A137AC3222==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: mail to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 05:24:51 -0000 --==========E155C30A35A137AC3222========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On September 19, 2006 9:50:18 PM -0700 jekillen =20 wrote: > Hello again; > I have a question about how mail from the system is generated for root. > This question was prompted when I edited the Postfix aliases file and > ran newaliases, then did postfix reload, assuming the mail system was > running. I was informed that Postfix was not running. Informed how? What do you see in /var/log/maillog? What does: egrep {'error|warn|fatal|alert'} /var/log/maillog return? So the question, > how does mail generated by the system get delivered to the root account? > Here is my motive: > I have a server that I want to run headless. I want to be able to > retrieve > mail to root from another machine via ssh login (on the same private net > work number/netmask 255.255.255.0). I cannot login to the system as > root over ssh. I don't know if I can read root mail with su (as wheel > group > member). I tried this but maybe I'm not using the appropriate parameter. ssh in to the box using your account. Then type: su - Enter the root password type: mail then select the number of the message you want to read. man (1) mail Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========E155C30A35A137AC3222==========--