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

Last updated: May 13,2024

1. Install "sendmail" package

This is a short guide on how to install sendmail on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install sendmail

2. Uninstall "sendmail" package

Please follow the instructions below to uninstall sendmail on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove sendmail $ sudo apt autoclean && sudo apt autoremove

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

Package: sendmail
Architecture: all
Version: 8.15.2-22ubuntu2
Priority: extra
Section: universe/mail
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian QA Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 232
Depends: sendmail-base, sendmail-bin, sendmail-cf, sensible-mda
Suggests: sendmail-doc, rmail
Filename: pool/universe/s/sendmail/sendmail_8.15.2-22ubuntu2_all.deb
Size: 6380
MD5sum: f0655f6e2b1466792c56ba0908d44909
SHA1: 0e2e09deea9ea55fe98e9cd0fcfaa913961deaf4
SHA256: 052f729aa59056b680ac324c6bd1fdc4d770da3dcb7223f7a50f3fcb93ee06d2
SHA512: 33b6f70d340a8fdec68710193c85360a70d362ef3fd32aea674a405c8cbdf33a61114c6d5184b2e929c370793581112e50d2b3643552eb4203b1e9b51050ce31
Homepage: http://www.sendmail.org
Description-en: powerful, efficient, and scalable Mail Transport Agent (metapackage)
Sendmail is an alternative Mail Transport Agent (MTA) for Debian.
It is suitable for handling sophisticated mail configurations,
although this means that its configuration can also be complex.
.
Fortunately, simple things can be done easily, and complex things
are possible, even if not easily understood ;) Sendmail is the *ONLY*
MTA with a Turing complete language to control *ALL* aspects of delivery!
.
Sendmail provides Security and SPAM/UCE/UBE protection via several means.
.
Sendmail includes *no* Mail User Agents (MUA), you'll have to
pick from the plethora of available MUAs (mutt, vm, etc.)
.
This package supports REGEX, DB, LDAP, DNS maps,
and has enabled TCPWrappers, IPv6, LockFile, SMTP AUTH(SASL), STARTTLS(SSL).
.
This package is to make installation/upgrading easier (Do NOT delete it)
Description-md5: 307f918be586e984eb62e9232dc00cc5