Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2007 20:32:50 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        L Goodwin <xrayv19@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Configuring FreeBSD 6.2 to use sendmail for sending only
Message-ID:  <20070830203250.4734d05c.wmoran@potentialtech.com>
In-Reply-To: <551986.10942.qm@web58113.mail.re3.yahoo.com>
References:  <B5C8AD63-103A-4813-992B-2083ECE8677C@mac.com> <551986.10942.qm@web58113.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
L Goodwin <xrayv19@yahoo.com> wrote:
>
> Chuck, I'd prefer to have the script handle the
> mailing  so I can test the script (with email send)
> manually, independent of cron.

Why?  What is your reason for overcomplicating this task by refusing
to use the facilities built into the system?

> Still looking for specifics on setting this up and a
> bourne shell script example that sends an email.
> Thanks!

Use mail(1).  That's what it's there for.

And don't top-post.

> 
> --- Chuck Swiger <cswiger@mac.com> wrote:
> 
> > On Aug 30, 2007, at 3:12 PM, L Goodwin wrote:
> > > I wrote a shell script that backs up the file
> > server.
> > > I would like to modify this script to email a
> > > notification message to a public email address.
> > 
> > Use cron, which will automatically email out the
> > results of your  
> > script to any email address you like.
> > 
> > > Seems like sendmail should do the job nicely, but
> > I've never set it  
> > > up before.
> > >
> > > What specific steps (including network-specific)
> > need
> > > to be performed to get sendmail working for
> > outgoing
> > > mail only in a secure manner?
> > 
> > Please see the fine Handbook:
> > 
> >   
> >
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html
> > 
> > Although, it is entirely reasonable to consider
> > using Postfix instead.
> > 
> > -- 
> > -Chuck
> > 
> > 
> 
> 
> 
>        
> ____________________________________________________________________________________
> Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
> http://answers.yahoo.com/dir/?link=list&sid=396545433
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


-- 
Bill Moran
http://www.potentialtech.com



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