Configuring FreeBSD 6.2 to use sendmail for sending only
wmoran at potentialtech.com
Thu Aug 30 17:33:22 PDT 2007
L Goodwin <xrayv19 at 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.
Use mail(1). That's what it's there for.
And don't top-post.
> --- Chuck Swiger <cswiger at 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:
> > 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.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions