Workshop

This section is designed to answer common questions that come up about Sendmail and SMTP concepts, as well as to solidify your understanding of email services with quiz questions and exercises for further exploration.

Quiz

1:What is the location of the Sendmail binary on FreeBSD?
  1. /usr/bin/sendmail

  2. /usr/local/sbin/sendmail

  3. /usr/sbin/sendmail

  4. /usr/libexec/sendmail/sendmail

A1: Either C or D are correct—trick question! /usr/sbin/sendmail is what you would call from a program or the command line; but it's really a “wrapper” that calls /usr/libexec/sendmail/sendmail. If you were to “drop in” Postfix as a replacement, /usr/sbin/sendmail would simply change where it pointed.
2:What file do I edit to add aliases to the system?
  1. /etc/aliases

  2. /etc/mail-aliases ...

Get Sams Teach Yourself FreeBSD® in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.