How to use Sendmail with FreeBSD

Using sendmail with freebsd is easy. Here we will cover

  • how to start and stop sendmail
  • how to send mail with sendmail
  • how to send mail from the terminal, cli, command prompt
  • how to make sendmail start at boot time

How to start and stop send mail:

  1. /etc/rc.d/sendmail  stop</li>
    	<li>/etc/rc.d/sendmail  start</li>
    	<li>/etc/rc.d/sendmail restart

How to send mail with sendmail from the terminal aka cli or command prompt or root

mail someuser@somedomain.com
Subject: For Testing Only
This email is for testing the mail delivery system only.
* then press ctrl+D

How to make sendmail start at boot time:

  1. edit /etc/rc.conf
  2. add – sendmail_enable=”YES”
  • Trackback are closed
  • Comments (0)
  1. No comments yet.