From owner-freebsd-questions Fri Jan 10 10:24:51 2003 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 C9C6137B405 for ; Fri, 10 Jan 2003 10:24:48 -0800 (PST) Received: from digiflux.org (43.Red-80-59-151.pooles.rima-tde.net [80.59.151.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id B503D43ED8 for ; Fri, 10 Jan 2003 10:24:43 -0800 (PST) (envelope-from olivas@digiflux.org) Received: from sentinel (sniffy [10.0.0.150]) (authenticated bits=0) by digiflux.org (8.12.6/8.12.6) with ESMTP id h0AIOepw001555; Fri, 10 Jan 2003 19:24:41 +0100 (CET) (envelope-from olivas@digiflux.org) From: "Stacy Olivas" To: , Subject: RE: Redirecting root's email Date: Fri, 10 Jan 2003 19:24:40 +0100 Message-ID: <003201c2b8d5$8a64c580$0502000a@sentinel> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <000d01c2b5ea$16529200$6501a8c0@5adam5> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > > > In the /etc/aliases file look for the following lines: > > > > # Pretty much everything else in this file points to "root", > > so # you would do well in either reading root's mailbox or > > forwarding # root's email from here. > > > > # root: me@my.domain > > (should be at the top of the file. > > > > make sure that you have a line in it like this (either > > uncomment the line by remving the # or add a new line like: > > > > root: you@yourdomain.com > > > > save it and then run the "newaliases" command.. it will > > rebuild the aliases database. > > > > For more info, do a "man newaliases". > > > > Of course, this only works *if* you have the sendmail daemon > > running. > > > > Enjoy! > > > > -Stacy > > You must have missed the begning of this thread (before it got snipped > anyway). I did that. Exactly as you suggested. This was of > course the > first thing I did. I also read man newaliases, and every > other relevant > man page I could find. I also tried putting a .forward file in root's > home directory with my external email address in it. Hmm.. Sorry, my bad. :) Strange that it didn't want to work for you.. what does the /var/log/maillog show? > > > > > Hi! > > > > > I am having trouble redirecting root's email to an external email > > > account. This is a 4.7-Release box with not very > > modifications done > > > to the standard installation. > > > > > When I look at /var/spool/clientmqueue, it is full of > > messages. Here > > > is a snippet of one: > > > > > MDeferred: Operation timed out with localhost.visimation.com. > > > > I'm not a big Sendmail expert or anything, but do you even > > have the MTA process running? Can you successfully telnet > > localhost.visimation.com port 25? What sendmail related lines > > do you have in /etc/rc.conf? > > -- > > Toomas Aas | toomas.aas@raad.tartu.ee | > > http://www.raad.tartu.ee/~toomas/ > > * All wiyht. Rho sritched > > mg kegboawd awound? > > Telnet to port 25 of localhost.visimation.com works. In my > /etc/rc.conf > the only entry I have for sendmail is: > sendmail_enable="YES" > > Thanks for the help. This is really frusrating me. :( > > Adam > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message