From owner-freebsd-questions Thu Mar 6 9: 0:59 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 59FD137B401 for ; Thu, 6 Mar 2003 09:00:58 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2FF243F3F for ; Thu, 6 Mar 2003 09:00:53 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b189.otenet.gr [212.205.244.197]) by mailsrv.otenet.gr (8.12.8/8.12.8) with ESMTP id h26H0p04019985; Thu, 6 Mar 2003 19:00:52 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.8/8.12.8) with ESMTP id h26H0oqs006746; Thu, 6 Mar 2003 19:00:51 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.8/8.12.8/Submit) id h26H0oQI006726; Thu, 6 Mar 2003 19:00:50 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 6 Mar 2003 19:00:49 +0200 From: Giorgos Keramidas To: Brian Henning Cc: freebsd Subject: Re: mail problem Message-ID: <20030306170049.GA78754@gothmog.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On 2003-03-06 10:51, Brian Henning wrote: > i am able to perform the following command fine when i want to send > mail on the local network. > > cat input_message.txt | mail -s "hello world" henninb@localhost > > is there a flag that i can pass to mail to tell it to use the proper > server for when i want to perform this operation to an address > outside my local network? > > cat input_message.txt | mail -s "hello world" b1henning@hotmail.com Have you checked your /var/log/maillog file? Any hints there? When you say that you are unable to use mail(1), do you mean that you get the message returned to your local mailbox? If yes, what is the precise error that the failed delivery contains? - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message