How to Install and Uninstall lsb-invalid-mta Package on Ubuntu 21.10 (Impish Indri)

Last updated: March 05,2025

1. Install "lsb-invalid-mta" package

Here is a brief guide to show you how to install lsb-invalid-mta on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install lsb-invalid-mta

2. Uninstall "lsb-invalid-mta" package

Please follow the guidance below to uninstall lsb-invalid-mta on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove lsb-invalid-mta $ sudo apt autoclean && sudo apt autoremove

3. Information about the lsb-invalid-mta package on Ubuntu 21.10 (Impish Indri)

Package: lsb-invalid-mta
Architecture: all
Version: 11.1.0ubuntu3
Priority: extra
Section: misc
Source: lsb
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian sysvinit maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 36
Provides: mail-transport-agent
Suggests: lsb
Conflicts: mail-transport-agent
Filename: pool/main/l/lsb/lsb-invalid-mta_11.1.0ubuntu3_all.deb
Size: 4502
MD5sum: d34f6d6bbb2c421be119a53863eb0bfa
SHA1: 641c8366b7b4c1ed9c84dc057ec963faacc28717
SHA256: c9cc96fcbdea4d87cc8de82ff63967bd1628591b6e23bee08d7379801f94a0df
SHA512: 51fe1b2d041b438d15c508f0e16aeaea1234d252417d7b0cb5fef2de3bf317a969b214c72030c75966a6b895c84cfec6dd4a53f544edfa27a71a1240fb6eca20
Homepage: https://wiki.linuxfoundation.org/lsb/start
Description-en: Linux Standard Base sendmail dummy
The Linux Standard Base (http://www.linuxbase.org/) is a standard
core system that third-party applications written for Linux can
depend upon.
.
This package contains nothing else than a fake /usr/sbin/sendmail
command to fulfill the LSB's requirement of providing this command without
requiring an MTA to get installed, which once introduces a daemon which
can cause security problems and second, users get asked questions about
how they want their MTA configured when in reality they simply wanted to
install a desktop application or a printer driver, but the dependency on
LSB compliance pulls in an MTA with the installation.
.
The LSB requirement on /usr/sbin/sendmail comes from old times where Linux
and Unix machines had all fixed IPs and did server tasks in data centers.
Today's typical desktop Linux machines do not do local e-mail any more as
users use external e-mail services.
.
The /usr/sbin/sendmail always exits with exit status -1 (255) and sends a
warning message to stderr, so that if a program actually tries to send e-mail
via the sendmail command the user gets note.
Description-md5: 33de1113b88f03d989868cbc67ba462c