Date: Thu, 21 Sep 2006 16:19:02 +0200 From: "Roger 'Rocky' Vetterberg" <listsub@401.cx> To: jekillen <jekillen@prodigy.net> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: mail to root Message-ID: <45129F56.7020409@401.cx> In-Reply-To: <2d6e28fbc9d4d02b9c37e9f9c2ee62d7@prodigy.net> References: <2d6e28fbc9d4d02b9c37e9f9c2ee62d7@prodigy.net>
next in thread | previous in thread | raw e-mail | index | archive | help
jekillen 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. 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. > Or maybe there isn't any. I don't know where to look for an answer to this > question, other than this knowledgeable group.....Oh, man mail maybe? > Thanks in advance > Jeff K I suggest you use .forward to get root's mail to another account. As root, do this: echo username >> /root/.forward That should forward root's mail to whatever username you specified. -- R
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45129F56.7020409>