From owner-freebsd-questions Fri Mar 7 1: 1:30 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 9C35837B405 for ; Fri, 7 Mar 2003 01:01:29 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5EE043FAF for ; Fri, 7 Mar 2003 01:01:27 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a231.otenet.gr [212.205.215.231]) by mailsrv.otenet.gr (8.12.8/8.12.8) with ESMTP id h2791O04023028; Fri, 7 Mar 2003 11:01:25 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.8/8.12.8) with ESMTP id h277ijMA001441; Fri, 7 Mar 2003 09:44:45 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.8/8.12.8/Submit) id h277ii1M001440; Fri, 7 Mar 2003 09:44:44 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 7 Mar 2003 09:44:44 +0200 From: Giorgos Keramidas To: nbari@unixmexico.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: send mail using alternate SMTP server Message-ID: <20030307074444.GA1285@gothmog.gr> References: <31108.148.243.211.1.1047015622.squirrel@mail.unixmexico.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31108.148.243.211.1.1047015622.squirrel@mail.unixmexico.com> 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 Redirected to -questions from -hackers. Please post general questions about FreeBSD to freebsd-questions and not freebsd-hackers. On 2003-03-06 23:40, nbari@unixmexico.com wrote: > hi all > > is there a command or a way to send email from a shell (no X environment) > specifying the SMTP server, so it don't uses the local SMTP? > > may be a hack to the mail command. No need for hacks. Read the description of the `msp' feature of recent Sendmail versions in `/usr/share/sendmail/cf/README'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message