Is Postfix the same thing as Sendmail?

102,625

Solution 1

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

Solution 2

Postfix and sendmail are different implementations of Mail Transfer Agents which are using Simple Mail Transfer Protocol (SMTP) for email transport over the Internet.

Postfix first released in 1998 intended to be an alternative to the widely used Sendmail MTA which was used widely since 1982.

Here are the summaries of all 4 popular mail agents:

Postfix Summary Sendmail Summary

Exim Summary qmail Summary

And their comparison table:

MTA Suitability table

Source: shearer

For full comparison, check: MTA Comparison at shearer.org

Solution 3

Sendmail and Postfix are indeed both Mail Transfer Agents (MTAs).

Postfix is quite a bit easier for a new admin to set up, and has some nice features that integrate well with the mail store end of the process (Cyrus POP/IMAP, Dovecot, etc.).

If you're not actually going to be accepting email incoming into that box and it's getting forwarded to another system, something lighter such as Exim may be a better choice.

Solution 4

Architecture: The most common difference between these two is architecture. Postfix has a modular architecture composed of many independent small executables. It provides multiple options, parameters, and features. In contrast, Sendmail has a monolithic design that uses a single process always running at the backend.

Performance: Sendmail is not great in terms of its performance, making it a poor competitor. Postfix has a queue manager that handles the queuing much more quickly.

Source: https://linuxhint.com/postfix_vs_sendmail/

Share:
102,625

Related videos on Youtube

Xeoncross
Author by

Xeoncross

PHP, Javascript, and Go Application developer responsible for over 50 open source projects and libraries at https://github.com/xeoncross By default I build Go backends with AngularJS frontends. Thanks to Ionic and Electron this even works for mobile and desktop apps. Bash, PHP, Python, Node.js, and random linux libraries are used for specific tasks because of the size of the ecosystems or libraries for odd jobs.

Updated on September 17, 2022

Comments

  • Xeoncross
    Xeoncross almost 2 years

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

    mail -s "Subject" [email protected]
    
    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.

  • stepancheg
    stepancheg over 13 years
    In another words, Postfix emulates Sendmail.
  • adamo
    adamo over 13 years
    No it does not. It uses its own configuration files and does not understand sendmail.cf.
  • uno
    uno over 13 years
    Postfix does emulate Sendmail's implementation of sendmail, the message submission program. Other than that, they serve the same purpose, but accomplish it by rather different means.
  • Xeoncross
    Xeoncross over 13 years
    Ok, so I can use most things that talk about requiring "sendmail" even though I have postfix setup because postfix has a mock-sendmail frontend script that handles everything. So my apps will never know it's not sendmail they are talking with.
  • Xeoncross
    Xeoncross over 13 years
    I would love to setup Exim if it is noticeably smaller - but there just isn't that much out there on it unless you already know what your doing.
  • Magellan
    Magellan over 13 years
    We use Exim on the forwarding boxes because that's what Ubuntu installs by default with mailutils. Running dpkg-reconfigure exim4-config and 30 seconds of configuration work to point it at the mail server.