Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2007 00:31:06 +0200
From:      Mats <unix@comhem.se>
To:        Bjorn Boulder <freebsd-questions@freebsd.org>
Subject:   Re: [FreeBSD][Newb] How I use sendmail to send mail?
Message-ID:  <20070610223106.GA858@cyborg.c83-250-138-187.bredband.comhem.se>
In-Reply-To: <922630.70501.qm@web57510.mail.re1.yahoo.com>
References:  <922630.70501.qm@web57510.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070610223106.GA858>