How to Install and Uninstall postfix Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 24,2024

1. Install "postfix" package

This tutorial shows how to install postfix on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install postfix

2. Uninstall "postfix" package

This tutorial shows how to uninstall postfix on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove postfix $ sudo apt autoclean && sudo apt autoremove

3. Information about the postfix package on Ubuntu 21.10 (Impish Indri)

Package: postfix
Architecture: amd64
Version: 3.5.6-1ubuntu2
Priority: optional
Section: mail
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LaMont Jones
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4231
Provides: default-mta, mail-transport-agent
Depends: libc6 (>= 2.34), libdb5.3, libicu67 (>= 67.1-1~), libnsl2 (>= 1.0), libsasl2-2 (>= 2.1.27+dfsg), libssl1.1 (>= 1.1.1), debconf (>= 0.5) | debconf-2.0, netbase, adduser (>= 3.48), dpkg (>= 1.8.3), lsb-base (>= 3.0-6), ssl-cert, cpio, e2fsprogs
Recommends: python3, ca-certificates
Suggests: procmail, postfix-mysql, postfix-pgsql, postfix-ldap, postfix-pcre, postfix-lmdb, postfix-sqlite, sasl2-bin | dovecot-common, libsasl2-modules | dovecot-common, resolvconf, postfix-cdb, mail-reader, ufw, postfix-doc
Conflicts: mail-transport-agent, smail
Replaces: mail-transport-agent
Filename: pool/main/p/postfix/postfix_3.5.6-1ubuntu2_amd64.deb
Size: 1279388
MD5sum: 9f4229cd14feaf295bbad1259629d6cc
SHA1: 2b2f4035998e7b17ad75e2bbbfd92f515fde0faf
SHA256: 6f951bdc2c3bf8b04c6757abf5c1a85c9100e67c54a4d0db5daffabe2cfc2a69
SHA512: fc3bc1bbd32a97ea88c625c1c926feb69f100867f7992fed674622acd42fc7660c75d64861091784427ae0072ed004264c7bef90b68fbb46e31722c83287c2ad
Homepage: http://www.postfix.org
Description-en: High-performance mail transport agent
Postfix is Wietse Venema's mail transport agent that started life as an
alternative to the widely-used Sendmail program. Postfix attempts to
be fast, easy to administer, and secure, while at the same time being
sendmail compatible enough to not upset existing users. Thus, the outside
has a sendmail-ish flavor, but the inside is completely different.
Description-md5: 98656fbf1bb45b53edd367037a2e5a90
Task: mail-server