Configuring FreeBSD 6.2 to use sendmail for sending only

Chuck Swiger cswiger at mac.com
Thu Aug 30 15:17:11 PDT 2007


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



More information about the freebsd-questions mailing list