How to Install and Uninstall postfix Package on Debian 12 (Bookworm)

Last updated: May 05,2024

1. Install "postfix" package

Please follow the guidelines below to install postfix on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install postfix

2. Uninstall "postfix" package

This is a short guide on how to uninstall postfix on Debian 12 (Bookworm):

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

3. Information about the postfix package on Debian 12 (Bookworm)

Package: postfix
Version: 3.7.10-0+deb12u1
Installed-Size: 4011
Maintainer: LaMont Jones
Architecture: amd64
Replaces: mail-transport-agent
Provides: mail-transport-agent
Depends: libc6 (>= 2.34), libdb5.3, libicu72 (>= 72.1~rc-1~), libnsl2 (>= 1.0), libsasl2-2 (>= 2.1.28+dfsg), libssl3 (>= 3.0.0), debconf (>= 0.5) | debconf-2.0, netbase, adduser (>= 3.48), dpkg (>= 1.8.3), ssl-cert, cpio, e2fsprogs
Pre-Depends: init-system-helpers (>= 1.54~)
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, postfix-mta-sts-resolver, ufw, postfix-doc
Conflicts: mail-transport-agent, smail
Description: High-performance mail transport agent
Description-md5: 98656fbf1bb45b53edd367037a2e5a90
Homepage: https://www.postfix.org
Tag: implemented-in::c, interface::daemon, mail::smtp, mail::transport-agent,
network::server, protocol::smtp, role::program, works-with::mail
Section: mail
Priority: optional
Filename: pool/main/p/postfix/postfix_3.7.10-0+deb12u1_amd64.deb
Size: 1507996
MD5sum: 3b13da56fbea55845b7003073bcdc524
SHA256: cec58c03cabf48cf9ba5de354fe4ed5e074cd002e4853c6c0b2fc9b7f2083684

Package: postfix
Version: 3.7.9-0+deb12u1
Installed-Size: 4004
Maintainer: LaMont Jones
Architecture: amd64
Replaces: mail-transport-agent
Provides: mail-transport-agent
Depends: libc6 (>= 2.34), libdb5.3, libicu72 (>= 72.1~rc-1~), libnsl2 (>= 1.0), libsasl2-2 (>= 2.1.28+dfsg), libssl3 (>= 3.0.0), debconf (>= 0.5) | debconf-2.0, netbase, adduser (>= 3.48), dpkg (>= 1.8.3), ssl-cert, cpio, e2fsprogs
Pre-Depends: init-system-helpers (>= 1.54~)
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, postfix-mta-sts-resolver, ufw, postfix-doc
Conflicts: mail-transport-agent, smail
Description: High-performance mail transport agent
Description-md5: 98656fbf1bb45b53edd367037a2e5a90
Homepage: https://www.postfix.org
Tag: implemented-in::c, interface::daemon, mail::smtp, mail::transport-agent,
network::server, protocol::smtp, role::program, works-with::mail
Section: mail
Priority: optional
Filename: pool/main/p/postfix/postfix_3.7.9-0+deb12u1_amd64.deb
Size: 1505320
SHA256: 9798d55cb827a497415db05c13d3b1ecd9a2523626db1e7cf1a67b802d1ca0c1