Postfix vs Sendmail – Differences Between Postfix and Sendmail

email-serverpostfixsendmail

I have Postfix setup on my server so that I can send outgoing mail using the command-line:

mail -s "Subject" address@example.com
  1. Is this using Sendmail or Postfix ?
  2. Is "Sendmail" just a software category or a distinct program ?
  3. If something is "Sendmail-ready" does that mean it will work with Postfix ?

Everything I've read online seems to use these two terms interchangeably.

Best Answer

Sendmail is a different (and much older) program from Postfix. However for every mail server to succeed in the Unix environment, a sendmail binary (with some of the expected command line options) must be provided.

EDIT: See for example the manual page for the sendmail program provided by Postfix