From owner-freebsd-questions Fri Feb 21 5:17: 9 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 3D25A37B401 for ; Fri, 21 Feb 2003 05:17:08 -0800 (PST) Received: from diana.northnetworks.ca (att-ws20.switchview.com [216.13.70.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8809143F85 for ; Fri, 21 Feb 2003 05:17:07 -0800 (PST) (envelope-from iaccounts@northnetworks.ca) Received: from localhost (iaccounts@localhost) by diana.northnetworks.ca (8.11.6/8.11.6) with ESMTP id h1LDH6p57729; Fri, 21 Feb 2003 08:17:06 -0500 (EST) (envelope-from iaccounts@northnetworks.ca) Date: Fri, 21 Feb 2003 08:17:06 -0500 (EST) From: IAccounts To: Ronnie Clark Cc: FreeBSD Questions Subject: Re: Stuck mail In-Reply-To: <20030220142949.37893.qmail@web10003.mail.yahoo.com> Message-ID: <20030221081151.J52146-100000@diana.northnetworks.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > 1.) I run a script on my FreeBSD firewall to parse the > firewall logs into csv format. When I tested this, I > was able to mail them to myself with no problems. But > the last two times, I am getting a message that says > that the email was denied being sent by the localhost. > Is there a way to retrieve the email that is stuck? # grep "text to find" /var/spool/mqueue/* Will dump out a list of messages in the queue with your text. > > 2.) Is there a way to alias my account on the firewall > box to my account on another FreeBSD workstation? Yes. Edit /etc/mail/aliases, and add: # username: username@otherserver.mydomain.com Then run: # newaliases (supposing you are running sendmail). Steve > > Thanks in advance, > Ron Clark > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > > 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