From owner-freebsd-questions@FreeBSD.ORG Sun Jun 10 22:46:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13CB916A469 for ; Sun, 10 Jun 2007 22:46:59 +0000 (UTC) (envelope-from mats@c83-250-138-187.bredband.comhem.se) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 969CE13C483 for ; Sun, 10 Jun 2007 22:46:58 +0000 (UTC) (envelope-from mats@c83-250-138-187.bredband.comhem.se) Received: from c83-250-138-187.bredband.comhem.se ([83.250.138.187]:55395 helo=cyborg.c83-250-138-187.bredband.comhem.se) by ch-smtp02.sth.basefarm.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1HxVwi-0005aT-7g for freebsd-questions@freebsd.org; Mon, 11 Jun 2007 00:31:40 +0200 Received: from cyborg.c83-250-138-187.bredband.comhem.se (localhost [127.0.0.1]) by cyborg.c83-250-138-187.bredband.comhem.se (8.13.8/8.13.3) with ESMTP id l5AMV6cl000893 for ; Mon, 11 Jun 2007 00:31:06 +0200 (CEST) Received: (from mats@localhost) by cyborg.c83-250-138-187.bredband.comhem.se (8.13.8/8.13.8/Submit) id l5AMV6b5000892 for freebsd-questions@freebsd.org; Mon, 11 Jun 2007 00:31:06 +0200 (CEST) (envelope-from mats) Date: Mon, 11 Jun 2007 00:31:06 +0200 From: Mats To: Bjorn Boulder Message-ID: <20070610223106.GA858@cyborg.c83-250-138-187.bredband.comhem.se> References: <922630.70501.qm@web57510.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <922630.70501.qm@web57510.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i X-Originating-IP: 83.250.138.187 X-Scan-Result: No virus found in message 1HxVwi-0005aT-7g. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HxVwi-0005aT-7g 78216b995bcf9ad81d5542892107616c Subject: Re: [FreeBSD][Newb] How I use sendmail to send mail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 22:46:59 -0000 On Sun, Jun 10, 2007 at 02:13:02PM -0700, Bjorn Boulder wrote: > > People, > > I need help with sendmail on my FreeBSD box running: > FreeBSD 5.3 > > Specifically, I need help using sendmail to send mail. > > I inherited this FreeBSD box from a guy who left for > another gig. > > The box appears to be stable. It's been up since Nov > 2006 > and is running a couple of simple web sites. > > The web sites work okay. > > We want to put up a 3rd site which needs to send mail > to people who register. > > I'm assuming that I need to get sendmail working. > > That is, I need it to send mail. > > It does not need to receive mail because we are using > google apps to receive all of our mail from the > outside. > > It was easy to setup: > > -Follow directions here: http://google.com/a/ > -Update the MX records for our domains > > When I try using sendmail I run this simple test: > > 1. create a text file, sendme.txt: > > From: bornboulder77@yahoo.com > Subject: test mail > Hi Bjorn > Bye Bjorn > > 2. Run shell command: > /usr/sbin/sendmail bornboulder77@yahoo.com < > sendme.txt > > Result: The mail is not delivered. > > I'd welcome any tips for configuring sendmail to send > mail. Is it so that you haven't set up your sendmail to deliver outside your network? You need to change some things in /etc/mail/sendmail.cf in that case. You probably have a qualyfied domainname? But before I write a long description how to do it, can you tell a little more? Does it deliver localy? /Mats