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:
-
/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:
- edit /etc/rc.conf
- add – sendmail_enable=”YES”
No comments yet.