[FreeBSD][Newb] How I use sendmail to send mail?
r17fbsd at xxiii.com
Tue Jun 12 00:56:29 UTC 2007
Bjorn Boulder wrote:
> Your tip along with that given by Mats suggests that
> I need to learn about /etc/mail/sendmail.cf
Directly building & editing the .cf file has been considered poor practice for many years now. Unless you're really masochistic, you just put some simple options in the .mc file and run some scripts to use m4 to build the final .cf file. FreeBSD gets even easier easier -- there's a /etc/mail/Makefile you can use to build and install the configs. Take a look at the notes in the top of it.
Also, if you just want to get mail off the local machine to an upstream server in your organization or ISP, you can install ssmtp from the ports. It only needs a 4 line config file, and do security issues.
More information about the freebsd-questions